Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 588 forks source link

Laravel 5.4 support #117

Closed denis-chmel closed 7 years ago

denis-chmel commented 7 years ago

Aftr adding Xethron\MigrationsGenerator\MigrationsGeneratorServiceProvider::class into app.php and running php artisan I am getting:

  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Call to undefined method Illuminate\Foundation\Application::share()
thatdoorsajar commented 7 years ago

I am also getting this error after migrate to 5.4

amravazzi commented 7 years ago

+1

sineld commented 7 years ago

+1

sineld commented 7 years ago

Did not work for Laravel 5.4 so I created an empty 5.3 project and successfully generated my migrations then copied them to the 5.4 project. Everything worked great. Thanks.

Agapito78 commented 7 years ago

+1

vitorn1234 commented 7 years ago

Don`t know if it helps but try

https://github.com/UniSharp/laravel-filemanager/pull/187

Using singleton method instead share method. Share method is now deprecated.

Roboroads commented 7 years ago

Added PR to fix this. https://github.com/Xethron/migrations-generator/pull/118

Xethron commented 7 years ago

Fixed, closing issue

Xethron commented 7 years ago

Oh, and a big thanks to @Roboroads and @VRuzhentsov for fixing this!