Mistake in migration scripts
This commit is contained in:
parent
3ba446be5b
commit
033402ffaf
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
CREATE TABLE IF NOT EXISTS user_roles (
|
CREATE TABLE IF NOT EXISTS report_collection (
|
||||||
user_id INTEGER NOT NULL,
|
id INTEGER PRIMARY KEY,
|
||||||
project_id INTEGER NOT NULL,
|
project_id INTEGER NOT NULL,
|
||||||
role STRING NOT NULL,
|
date DATE NOT NULL,
|
||||||
FOREIGN KEY (user_id) REFERENCES users (id)
|
signed_by INTEGER, -- NULL if not signed
|
||||||
FOREIGN KEY (project_id) REFERENCES projects (id)
|
FOREIGN KEY (signed_by) REFERENCES users (id)
|
||||||
);
|
);
|
Loading…
Reference in a new issue