sql folder

This commit is contained in:
Michele Artini 2023-06-12 10:59:20 +02:00
parent f8b3643408
commit 827dec7a29
1 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,14 @@
DROP TABLE IF EXISTS community_projects;
DROP TABLE IF EXISTS community_datasources;
DROP TABLE IF EXISTS community_support_orgs;
DROP TABLE IF EXISTS community_orgs;
DROP TABLE IF EXISTS communities;
CREATE TABLE communities (
id text PRIMARY KEY,
label text NOT NULL,
description text NOT NULL DEFFAULT '',
description text NOT NULL DEFAULT '',
status text NOT NULL DEFAULT 'hidden', -- all, manager, hidden
type text NOT NULL, -- community, ri
subjects text[],