From b5ada60da3f01f0dee422eb39816e77033feb82c Mon Sep 17 00:00:00 2001 From: "michele.artini" Date: Wed, 18 Oct 2023 10:04:10 +0200 Subject: [PATCH] new fields in the db: community.plan and community_subs.browsable --- .../src/main/resources/sql/community-schema.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/dnet-exporter-api/src/main/resources/sql/community-schema.sql b/apps/dnet-exporter-api/src/main/resources/sql/community-schema.sql index d109fe1e..f69a9a68 100644 --- a/apps/dnet-exporter-api/src/main/resources/sql/community-schema.sql +++ b/apps/dnet-exporter-api/src/main/resources/sql/community-schema.sql @@ -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 );