sql folder
This commit is contained in:
parent
f8b3643408
commit
827dec7a29
|
@ -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[],
|
Loading…
Reference in New Issue