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

Anonymous migrations do not work with Laravel 8 #37

Closed
zaalbarxx opened this issue Jan 25, 2022 · 2 comments · Fixed by #38
Closed

Anonymous migrations do not work with Laravel 8 #37

zaalbarxx opened this issue Jan 25, 2022 · 2 comments · Fixed by #38

Comments

@zaalbarxx
Copy link

zaalbarxx commented Jan 25, 2022

  • Laravel Actions Version: 2.4.0
  • Laravel/Lumen Version: 8.64
  • PHP Version: 7.4
  • Database: mysql
  • Database Version: 8

Description:

Currently the detection of the anonymous migrations feature is not ideal since anonymous migrations has been introduced in Laravel 8.37 and the code checks if the major version of the app is 9.

Steps To Reproduce:

Create Laravel >8.37 project, create anonymous migration and try to migrate. It will fail.

@andrey-helldar
Copy link
Member

I agree. In the near future I will add the definition of a minor version of the framework.

@andrey-helldar
Copy link
Member

Released: v2.5.0

Thank you

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

Successfully merging a pull request may close this issue.

2 participants