Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No migrations when upgrading from 1.0.0-rc.3 #632

Open
yuvii opened this issue Jul 12, 2023 · 1 comment
Open

No migrations when upgrading from 1.0.0-rc.3 #632

yuvii opened this issue Jul 12, 2023 · 1 comment

Comments

@yuvii
Copy link

yuvii commented Jul 12, 2023

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
Copy link

lrljoe commented Sep 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants