improve security.

This commit is contained in:
2019-08-30 22:32:30 +02:00
parent f5bff403f0
commit 9e88b33595
14 changed files with 109 additions and 39 deletions

View File

@@ -236,6 +236,7 @@ create table comment
"content" text not null check ( content != '' and length(content) < 4096),
parent_id uuid references comment (id),
parents_ids uuid[],
deleted_at timestamptz null,
foreign key (created_by_id) references citizen (id),
primary key (id)
) inherits (extra);