From 0bbf9d32b1045c57951538b4a55ba9441802c2c6 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 7 Aug 2017 19:30:44 +0200 Subject: [PATCH] Describe required changes to SQLite schema in migration guide --- Migration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Migration.md b/Migration.md index 33bdbcf..55144bd 100644 --- a/Migration.md +++ b/Migration.md @@ -53,6 +53,8 @@ $ composer update delight-im/auth UPDATE users_confirmations SET user_id = ( SELECT id FROM users WHERE email = users_confirmations.email ) WHERE user_id IS NULL; + + CREATE INDEX "users_confirmations.user_id" ON "users_confirmations" ("user_id"); ``` * The two methods `confirmEmail` and `confirmEmailAndSignIn` may now throw an additional `\Delight\Auth\UserAlreadyExistsException` if an attempt has been made to change the email address to an address that has become occupied in the meantime.