Reputation: 35
Is anybody have problems with creating database in Laravel 4.1? Previous version was normal, but in 4.1 i create new database with
php artisan migrate:make create_users_table --create --table=users
and laravel don't put timestamps and increments automatically in migration.
Upvotes: 1
Views: 839
Reputation: 1695
The syntax for creating a migration file has slightly changed in Laravel 4.1.
Laravel 4.1
php artisan migrate:make create_users_table --create=users
Laravel 4.0
php artisan migrate:make create_users_table --table=users --create
See the Creating Migrations section in the Laravel documentation and make sure to select 4.1 in the top.
Upvotes: 6