new_model_for_communities #15

Merged
michele.artini merged 81 commits from new_model_for_communities into master 2023-10-24 08:12:26 +02:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit b5ada60da3 - Show all commits

View File

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