mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-02 14:17:26 +02:00
Update SQLite schema to include 'user_id' in 'users_confirmations'
This commit is contained in:
@@ -20,6 +20,7 @@ CREATE TABLE "users" (
|
|||||||
|
|
||||||
CREATE TABLE "users_confirmations" (
|
CREATE TABLE "users_confirmations" (
|
||||||
"id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL CHECK ("id" >= 0),
|
"id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL CHECK ("id" >= 0),
|
||||||
|
"user_id" INTEGER NOT NULL CHECK ("user_id" >= 0),
|
||||||
"email" VARCHAR(249) NOT NULL,
|
"email" VARCHAR(249) NOT NULL,
|
||||||
"selector" VARCHAR(16) NOT NULL,
|
"selector" VARCHAR(16) NOT NULL,
|
||||||
"token" VARCHAR(255) NOT NULL,
|
"token" VARCHAR(255) NOT NULL,
|
||||||
|
Reference in New Issue
Block a user