-
Notifications
You must be signed in to change notification settings - Fork 789
Closed
Labels
Description
- Passport Version: 8.5.0 => 9.1.0
- Laravel Version: 7.10.3
- PHP Version: 7.3.17
- Database Driver & Version: pdo_pgsql
Description:
The Upgrade Guide explains in the Support For Multiple Guards section that a provider column must be added to the oauth_clients database table.
However, the migration provided only works if Migration Customization is used and php artisan vendor:publish --tag=passport-migrations was executed prior to the update.
Otherwise, the migration will fail on fresh installations, because the column is already introduced by the (updated) default migration.
Steps To Reproduce:
composer require laravel/passport:^8php artisan migratecomposer require laravel/passport:^9php artisan make:migration PassportUpgradeTo9Dot0- (Copy suggested migration.)
php artisan migrate(works)php artisan migrate:fresh(fails)