JosephSilber/bouncer

No migrations when upgrading from 1.0.0-rc.3

Opened this issue · 1 comments

yuvii commented

Hi!
We're trying to upgrade some old laravel code that has been using bouncer version 1.0.0-rc.3. We're upgrading both the PHP & Laravel version, and when updating to the latest bouncer it complains about missing columns (specifically scope column for assigned_roles but I see there are a lot of other missing too). I tried running the command:

php artisan vendor:publish --tag="bouncer.migrations"

But I'm getting:

No publishable resources for tag [bouncer.migrations].

I'm not really sure what's the purpose of these columns, or how to migrate it correctly (eventually we'll need to migrate a database in production that is active and in use, and we can't lose data). The original migrations were created manually by the previous developers.

lrljoe commented

Did you resolve this? If not reply and I'll give you some pointers.