We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd230f8 commit 5b69176Copy full SHA for 5b69176
migrations/2018-06-20-062854_create_poll_table/up.sql
@@ -12,8 +12,8 @@ CREATE TABLE poll (
12
13
CREATE TABLE poll_review_request (
14
id SERIAL PRIMARY KEY,
15
- fk_poll INTEGER NOT NULL REFERENCES fcp_proposal (id) ON DELETE CASCADE,
+ fk_poll INTEGER NOT NULL REFERENCES poll (id) ON DELETE CASCADE,
16
fk_reviewer INTEGER NOT NULL REFERENCES githubuser (id),
17
reviewed BOOLEAN NOT NULL,
18
- UNIQUE (fk_proposal, fk_reviewer)
+ UNIQUE (fcp_poll, fk_reviewer)
19
);
0 commit comments