1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-05 15:47:25 +02:00

Describe required changes to SQLite schema in migration guide

This commit is contained in:
Marco
2017-08-07 19:30:44 +02:00
parent 381e05f102
commit 0bbf9d32b1

View File

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