Laravel-4-Generators
Laravel-4-Generators copied to clipboard
Generating model with fields failed
trafficstars
php artisan generate:scaffold --fields="customer_id:int,title:string" form
results in the following bad code:
$table->int,title('customer_id')->string();
Try with a space between fields, like this:
php artisan generate:scaffold --fields="customer_id:int, title:string" form
I'm sure that'll work, just wanted to see if we could fix the matching to be a little smarter.