new fields in the db: community.plan and community_subs.browsable
This commit is contained in:
parent
b3e3d676ba
commit
b5ada60da3
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue