MIF_E31222691/database
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
..
factories Make email unique (#5978) 2022-09-02 09:10:54 -05:00
migrations switch email to a primary key (#6064) 2023-01-02 08:45:35 -06:00
seeders [9.x] Uses `laravel/pint` for styling (#5945) 2022-07-15 08:38:49 -05:00
.gitignore Update .gitignore (#5593) 2021-04-16 08:13:56 -05:00