TheDragonCode/laravel-deploy-operations

Anonymous migrations do not work with Laravel 8

Closed this issue · 2 comments

  • 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.

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

Released: v2.5.0

Thank you