Skip to content

Commit

Permalink
fix syntax error.
Browse files Browse the repository at this point in the history
  • Loading branch information
coire1 committed Jul 16, 2023
1 parent c6accaa commit c3cc22e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event-db/migrations/V4__proposal_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ CREATE TABLE reviewer_level (

event_id INTEGER NOT NULL,

FOREIGN KEY(event_id) REFERENCES event(row_id) ON DELETE CASCADE
FOREIGN KEY (event_id) REFERENCES event(row_id) ON DELETE CASCADE
);

COMMENT ON TABLE reviewer_level IS
Expand Down Expand Up @@ -111,7 +111,7 @@ CREATE TABLE proposal_review (
ranking INTEGER,
flags JSONB NULL,

FOREIGN KEY (proposal_id) REFERENCES proposal(row_id) ON DELETE CASCADE
FOREIGN KEY (proposal_id) REFERENCES proposal(row_id) ON DELETE CASCADE,
FOREIGN KEY (assessor_level) REFERENCES reviewer_level(row_id) ON DELETE CASCADE
);

Expand Down

0 comments on commit c3cc22e

Please sign in to comment.