Andrew Brown 091aa7d882
switch email to a primary key (#6064)
switching from a normal index here to a primary index works the same except for adding a `UNIQUE` constraint.

The `DatabaseTokenRepository` deletes existing records with an email first, before creating a new one, so this additional constraint will be okay.

https://github.com/laravel/framework/blob/9.x/src/Illuminate/Auth/Passwords/DatabaseTokenRepository.php#L88
2023-01-02 08:45:35 -06:00
..
2022-09-02 09:10:54 -05:00
2021-04-16 08:13:56 -05:00