new fields in the db: community.plan and community_subs.browsable

This commit is contained in:
Michele Artini 2023-10-18 10:04:10 +02:00
parent b3e3d676ba
commit b5ada60da3
1 changed files with 3 additions and 1 deletions

View File

@ -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
);