Skip to content

Commit

Permalink
Update SQLite schema to index on 'user_id' in 'users_confirmations'
Browse files Browse the repository at this point in the history
  • Loading branch information
ocram committed Aug 7, 2017
1 parent 2839743 commit 381e05f
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 @@ -28,6 +28,7 @@ CREATE TABLE "users_confirmations" (
CONSTRAINT "selector" UNIQUE ("selector")
);
CREATE INDEX "users_confirmations.email_expires" ON "users_confirmations" ("email", "expires");
CREATE INDEX "users_confirmations.user_id" ON "users_confirmations" ("user_id");

CREATE TABLE "users_remembered" (
"id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL CHECK ("id" >= 0),
Expand Down

0 comments on commit 381e05f

Please sign in to comment.