fix find_citizen_opinions_by_target_ids.sql

change opinion_list.target to array
This commit is contained in:
2020-02-08 02:28:19 +01:00
parent 976f8fac6a
commit 42781565dd
4 changed files with 21 additions and 15 deletions

View File

@@ -506,8 +506,8 @@ create table resource_view
create table opinion_list
(
id uuid default uuid_generate_v4() not null primary key,
name text not null,
target text null,
name text not null unique,
target text[] null,
created_at timestamptz default now() not null,
deleted_at timestamptz null
);