Can put photo on couples
This commit is contained in:
parent
0abd0e5516
commit
274e9d9a21
@ -60,6 +60,7 @@ CREATE TABLE members (
|
|||||||
CREATE TABLE couples (
|
CREATE TABLE couples (
|
||||||
wife integer NOT NULL REFERENCES members,
|
wife integer NOT NULL REFERENCES members,
|
||||||
husband integer NOT NULL REFERENCES members,
|
husband integer NOT NULL REFERENCES members,
|
||||||
|
photo_id VARCHAR(255) NULL,
|
||||||
wedding_year smallint NULL,
|
wedding_year smallint NULL,
|
||||||
wedding_month smallint NULL,
|
wedding_month smallint NULL,
|
||||||
wedding_day smallint NULL,
|
wedding_day smallint NULL,
|
||||||
|
@ -4,6 +4,7 @@ diesel::table! {
|
|||||||
couples (wife, husband) {
|
couples (wife, husband) {
|
||||||
wife -> Int4,
|
wife -> Int4,
|
||||||
husband -> Int4,
|
husband -> Int4,
|
||||||
|
photo_id -> Nullable<Varchar>,
|
||||||
wedding_year -> Nullable<Int2>,
|
wedding_year -> Nullable<Int2>,
|
||||||
wedding_month -> Nullable<Int2>,
|
wedding_month -> Nullable<Int2>,
|
||||||
wedding_day -> Nullable<Int2>,
|
wedding_day -> Nullable<Int2>,
|
||||||
|
Loading…
Reference in New Issue
Block a user