-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5beade
commit 8698fe6
Showing
9 changed files
with
210 additions
and
64 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
.sqlx/query-8688ce34277d10e20b2ee3cd3e92d8791708804985fa2ce83167cc69ea71b484.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
.sqlx/query-c89b2f9eb5f176a580078974cadd705d9b1b0848158f85a96f33fbf2818563d1.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
.sqlx/query-fc950d55a77a8917bae2e0ac738764a90412eeee3fcdcd3b77afc609f557f6b2.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE teacher_oauths; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CREATE TABLE teacher_oauths ( | ||
teacher uuid NOT NULL REFERENCES teachers(id) ON DELETE CASCADE, | ||
provider varchar(63) NOT NULL, | ||
sub varchar(255) NOT NULL, | ||
|
||
CONSTRAINT unique_sub_for_provider UNIQUE (teacher, provider) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters