WARNING 1: Make sure you have a backup of your application and database before attempting any upgrades.
WARNING 2: All active sessions will be flushed. Logged users will have to login again.
- Require
"doctrine/dbal": "*",
on yourcomposer.json
- Run
composer update
- Copy the class below into your routes file.
- Add
MigrateSentinel::run();
to your routes file. - Hit the app in the browser to trigger the migration.
- Remove the class and the
MigrateSentinel::run();
call. - Remove 'doctrine/dbal'.
- Run
composer update
. - Republish sentinel's configuration (only required if you have it published already)
Groups
have been renamed toRoles
, make sure you update any references accordingly.
'lottery' => [2, 100],
should be added to both reminders and activations arrays in the config (if you use custom config in app/config/cartalyst/sentinel)