added 2 not null constraints
This commit is contained in:
parent
e604d406bd
commit
9ef99f4785
|
@ -43,7 +43,7 @@ CREATE TABLE community_datasources (
|
|||
);
|
||||
|
||||
CREATE TABLE community_support_orgs (
|
||||
community text REFERENCES communities(id),
|
||||
community text NOT NULL REFERENCES communities(id),
|
||||
org_name text NOT NULL,
|
||||
org_url text NOT NULL,
|
||||
org_logourl text NOT NULL,
|
||||
|
@ -51,7 +51,7 @@ CREATE TABLE community_support_orgs (
|
|||
);
|
||||
|
||||
CREATE TABLE community_orgs (
|
||||
community text REFERENCES communities(id),
|
||||
community text NOT NULL REFERENCES communities(id),
|
||||
org_id text NOT NULL,
|
||||
PRIMARY KEY (community, org_id)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue