adamkearsley / laravel-convert-migrations

This is a custom command to convert your current SQL database schema into a Laravel 4 Migration file.
91 stars 36 forks source link

Error when ran on Laravel 5.4 #19

Open renesotolira opened 7 years ago

renesotolira commented 7 years ago

I tried to use it but the next message appears "[Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method Illuminate\Foundation\Application::share() "

emveeoh commented 5 years ago

As of laravel 5.4 share has been removed. You will have to use the singleton instead.

See: https://github.com/laravel/framework/commit/1a1969b6e6f793c3b2a479362641487ee9cbf736