-
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
c502f56
commit 7ed2510
Showing
7 changed files
with
51 additions
and
32 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
6 changes: 3 additions & 3 deletions
6
src/db/migrations/0000_calm_blindfold.sql → ...migrations/0000_clammy_scarlet_spider.sql
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
CREATE TABLE IF NOT EXISTS "users" ( | ||
CREATE TABLE IF NOT EXISTS "user" ( | ||
"id" serial PRIMARY KEY NOT NULL, | ||
"user_id" varchar(255) NOT NULL, | ||
"username" varchar(255) NOT NULL, | ||
"first_name" varchar(255) NOT NULL, | ||
"last_name" varchar(255) NOT NULL, | ||
"email" text NOT NULL, | ||
CONSTRAINT "users_username_unique" UNIQUE("username"), | ||
CONSTRAINT "users_email_unique" UNIQUE("email") | ||
CONSTRAINT "user_username_unique" UNIQUE("username"), | ||
CONSTRAINT "user_email_unique" UNIQUE("email") | ||
); |
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