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

load migrations in provider boot method #11

Merged
merged 1 commit into from Feb 16, 2018
Merged

load migrations in provider boot method #11

merged 1 commit into from Feb 16, 2018

Conversation

raniesantos
Copy link
Contributor

I made this PR because Installation instructions don't work as intended.

php artisan migrate should work without publishing first.

@antonkomarev antonkomarev merged commit 051ca85 into cybercog:master Feb 16, 2018
@antonkomarev
Copy link
Member

Thank you for the contribution @raniesantos!

Additionally I've extracted loading migrations to protected method, added you to the Contributors List and made a patch release v5.1.1.

@vesper8
Copy link

vesper8 commented Nov 1, 2018

it seems that what you did here is now preventing us from using custom migrations, even if we publish the migrations, they are ignored and the ones from the package are migrated instead

You would have to do a check to see if the migration exists in the user folder.. but honestly.. I think that a package SHOULD require migrations to be published first.. you were doing it right the first time

@antonkomarev
Copy link
Member

Solution details described in #28 (comment)

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

Successfully merging this pull request may close these issues.

None yet

3 participants