new_model_for_communities #15
|
@ -43,7 +43,7 @@ CREATE TABLE community_datasources (
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE community_support_orgs (
|
CREATE TABLE community_support_orgs (
|
||||||
community text REFERENCES communities(id),
|
community text NOT NULL REFERENCES communities(id),
|
||||||
org_name text NOT NULL,
|
org_name text NOT NULL,
|
||||||
org_url text NOT NULL,
|
org_url text NOT NULL,
|
||||||
org_logourl text NOT NULL,
|
org_logourl text NOT NULL,
|
||||||
|
@ -51,7 +51,7 @@ CREATE TABLE community_support_orgs (
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE community_orgs (
|
CREATE TABLE community_orgs (
|
||||||
community text REFERENCES communities(id),
|
community text NOT NULL REFERENCES communities(id),
|
||||||
org_id text NOT NULL,
|
org_id text NOT NULL,
|
||||||
PRIMARY KEY (community, org_id)
|
PRIMARY KEY (community, org_id)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue