new_model_for_communities #15
|
@ -24,7 +24,8 @@ CREATE TABLE communities (
|
|||
creation_date timestamp NOT NULL DEFAULT now(),
|
||||
last_update timestamp NOT NULL DEFAULT now(),
|
||||
logo_url text,
|
||||
suggested_acknowledgements text[]
|
||||
suggested_acknowledgements text[],
|
||||
plan text
|
||||
);
|
||||
|
||||
CREATE TABLE community_projects (
|
||||
|
@ -68,6 +69,7 @@ CREATE TABLE community_subs (
|
|||
label text NOT NULL,
|
||||
category text NOT NULL,
|
||||
claim boolean NOT NULL DEFAULT false,
|
||||
browsable boolean NOT NULL DEFAULT false,
|
||||
params jsonb,
|
||||
parent text REFERENCES community_subs(sub_id) -- NULL for the first level
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue