-
Notifications
You must be signed in to change notification settings - Fork 67
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
Option to prevent migrations running automatically. #52
Comments
I too have this issue. A fix like Sanctum or Cashier would work best I think. So you put a This sets a A PR that adds this to the Auth class of this package would solve this issue I think. |
Feel free to submit a PR. |
I'm trying to use this package alongside the multi-tenancy package https://github.com/archtechx/tenancy.
This package creates seperate databases for the tenants while using the default database as a 'central' database.
The SAML2 tables need to be added to the individual tenant DBs not this 'central' database, but because this package uses "loadMigrationsFrom" I do not have control over how these migrations are loaded and run.
The Multi tenancy package allows me to specify additional 'paths' to use for tenant migrations, so I can include the path to the laravel-saml2 migrations directly to get them to run where I need them. However they also still run on the 'central' DB.
What I am hoping is that an option can be added to this package to be able to disable the "loadMigrationsFrom" command, so that they do not need to be run automatically in situations like mine where they are being run by a different method.
Do you think this is something that could be included in this package (assuming a solution to this does not already exist)?
If so, I can make a PR for this.
The text was updated successfully, but these errors were encountered: