Skip to content

Commit

Permalink
Update SQLite schema to include 'user_id' in 'users_confirmations'
Browse files Browse the repository at this point in the history
  • Loading branch information
ocram committed Jul 30, 2017
1 parent f962008 commit d14d929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Database/SQLite.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ CREATE TABLE "users" (

CREATE TABLE "users_confirmations" (
"id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL CHECK ("id" >= 0),
"user_id" INTEGER NOT NULL CHECK ("user_id" >= 0),
"email" VARCHAR(249) NOT NULL,
"selector" VARCHAR(16) NOT NULL,
"token" VARCHAR(255) NOT NULL,
Expand Down

0 comments on commit d14d929

Please sign in to comment.