Skip to content

Commit

Permalink
Merge pull request #34 from SELab-2/db_added_field
Browse files Browse the repository at this point in the history
Update selab_script.sql
  • Loading branch information
pieterjanin authored Mar 4, 2024
2 parents 4e9efb2 + 6ed1acd commit da450ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/selab_script.sql
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ CREATE TABLE project (
deadline DATE NOT NULL,
name TEXT NOT NULL,
subject_id BIGSERIAL NOT NULL,
description TEXT,
FOREIGN KEY (subject_id) REFERENCES subject(id) ON DELETE SET NULL
);

Expand Down

0 comments on commit da450ef

Please sign in to comment.