use token for reservation
This commit is contained in:
parent
395cf0f76e
commit
f2647a687b
2 changed files with 52 additions and 7 deletions
|
|
@ -299,6 +299,13 @@ CREATE TABLE build_types (
|
|||
) WITHOUT OIDS;
|
||||
|
||||
|
||||
CREATE TABLE build_reservations (
|
||||
build_id INTEGER NOT NULL REFERENCES build(id),
|
||||
user_id INTEGER NOT NULL REFERENCES users(id),
|
||||
token VARCHAR(64),
|
||||
PRIMARY KEY (build_id)
|
||||
) WITHOUT OIDS;
|
||||
|
||||
-- Note: some of these CREATEs may seem a little out of order. This is done to keep
|
||||
-- the references sane.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue