Skip to content

Commit

Permalink
fix(db): reference correct drap.GoogleUserId
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Aug 3, 2024
1 parent 7261efb commit 80a9fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CREATE TABLE drap.users (
-- case TRUE, _, _: Registered Faculty
is_admin BOOLEAN NOT NULL DEFAULT FALSE,
student_number BIGINT UNIQUE CONSTRAINT student_number_within_bounds CHECK (student_number BETWEEN 100000000 AND 1000000000),
user_id GoogleUserId UNIQUE,
user_id drap.GoogleUserId UNIQUE,
lab_id TEXT REFERENCES drap.labs (lab_id),
email TEXT NOT NULL PRIMARY KEY,
given_name TEXT NOT NULL DEFAULT '',
Expand Down

0 comments on commit 80a9fc4

Please sign in to comment.