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 8 additions and 1 deletions
Showing only changes of commit 827dec7a29 - Show all commits

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 ( CREATE TABLE communities (
id text PRIMARY KEY, id text PRIMARY KEY,
label text NOT NULL, label text NOT NULL,
description text NOT NULL DEFFAULT '', description text NOT NULL DEFAULT '',
status text NOT NULL DEFAULT 'hidden', -- all, manager, hidden status text NOT NULL DEFAULT 'hidden', -- all, manager, hidden
type text NOT NULL, -- community, ri type text NOT NULL, -- community, ri
subjects text[], subjects text[],