1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-30 21:00:13 +02:00

Update SQLite schema to include 'user_id' in 'users_confirmations'

This commit is contained in:
Marco
2017-07-30 19:36:29 +02:00
parent f962008fc4
commit d14d929bc3

View File

@@ -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,