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

Change boot() migrations method from publishes to loadMigrationsFrom … #27

Closed
wants to merge 1 commit into from

Conversation

xxdalexx
Copy link

@xxdalexx xxdalexx commented Mar 5, 2017

…to work with laravel 5.4

@@ -40,7 +40,7 @@ public function boot()
$this->loadTranslationsFrom(realpath(__DIR__.'/resources/lang'), 'backpack');

// publish the migrations and seeds
$this->publishes([__DIR__.'/database/migrations/' => database_path('migrations')], 'migrations');
$this->loadMigrationsFrom(__DIR__.'/database/migrations/');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this break 5.3 though?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's why, while we're still supporting 5.3, I think it's safe to just publish the migrations. L5.4 will still run them (because they're published), it would just throw a warning. Right, @xxdalexx ?

@lloy0076
Copy link
Contributor

lloy0076 commented Sep 4, 2017

@tabacitu @xxdalexx - what's the status of this?

@tabacitu
Copy link
Member

Since L5.4 is obsolete and no longer supported, I'm going to close this. Sorry for taking so long @xxdalexx . Please don't let this discourage you from submitting other PRs. We've massively increased the time we spend on Backpack in 2018, so that things like this don't happen anymore.

Cheers!

@tabacitu tabacitu closed this Mar 13, 2018
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