Can get possible couple states through API
This commit is contained in:
@ -70,8 +70,8 @@ CREATE TABLE members (
|
||||
CREATE TABLE couples (
|
||||
id SERIAL PRIMARY KEY,
|
||||
family_id integer NOT NULL REFERENCES families,
|
||||
wife integer NULL REFERENCES members,
|
||||
husband integer NULL REFERENCES members,
|
||||
wife integer NULL REFERENCES members ON DELETE SET NULL,
|
||||
husband integer NULL REFERENCES members ON DELETE SET NULL,
|
||||
state varchar(1) NULL,
|
||||
photo_id INTEGER NULL REFERENCES photos ON DELETE SET NULL,
|
||||
time_create BIGINT NOT NULL,
|
||||
|
Reference in New Issue
Block a user