I dunno if this is a laravel or larry-related issue, but when I created tables with underscores as its table name and then ran "php artisan dump-autoload" on the CLI, it creates unrecognized class name for the migration class and autoload_classmap.php, making it unable to be reset/rollback/refreshed. Example:
Larry file:
User myproject_user
id increments
name string
It creates a migration class with class name
CreateMyprojectuserTable
It runs fine when I run "php artisan migrate" but when I run "php artisan migrate:reset", it shows an error with the message "class CreateMyprojectUserTable not found". The only workaround I've found so far is to manually change the generated migration class name from CreateMyprojectuserTable to CreateMyprojectUserTable (notice the capital U), as well as the class name in the autoload_classmap.php file.
I hope this issue can be fixed in the next release. I'm still new to this laravel stuff and larry helps a lot in creating migrations and models. Thanks a bunch!
I dunno if this is a laravel or larry-related issue, but when I created tables with underscores as its table name and then ran "php artisan dump-autoload" on the CLI, it creates unrecognized class name for the migration class and autoload_classmap.php, making it unable to be reset/rollback/refreshed. Example:
Larry file:
User myproject_user
id increments
name string
It creates a migration class with class name
CreateMyprojectuserTable
It runs fine when I run "php artisan migrate" but when I run "php artisan migrate:reset", it shows an error with the message "class CreateMyprojectUserTable not found". The only workaround I've found so far is to manually change the generated migration class name from CreateMyprojectuserTable to CreateMyprojectUserTable (notice the capital U), as well as the class name in the autoload_classmap.php file.
I hope this issue can be fixed in the next release. I'm still new to this laravel stuff and larry helps a lot in creating migrations and models. Thanks a bunch!