-
Notifications
You must be signed in to change notification settings - Fork 166
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
Generate package migration file laravel 5.2 #29
Comments
The problem is not to migrate, it is to try to build package migration file of laravel-shop. Thank you very much anyway |
Kraionz in laravel 5.2 the 'auth.model' (for users) seems to have been changed to 'auth.providers.users.model'. So what you might need to do is to open the MigrationCommand.php in vendor/amsgames/laravel-shop/src/Commands and locate the line
and replace it with but you may encounter the following issue:
at which point you can just open the migration that was generated and replace the empty single quotes with whatever name you have given the 'users' table... That seems to have worked for me. |
change this |
i am new and I am following in the footsteps of laravel 5.1 to 5.2
php artisan laravel-shop:migration
after giving yes
creating migration...
Symfony\Component\Debug\Exception\FatalErrorException
Class name must be a valid object or a string
The text was updated successfully, but these errors were encountered: