I\'m setting up a new app with laravel (Laravel 4), and having some issues setting up the database via migrations.
I made a migration file with:
artisan
If you modify a migration after running it, you first need to rollback the migration.
php artisan migrate:rollback
Keep running that until the migration you've changed is rolled back. Alternatively, you can reset your entire schema with
php artisan migrate:reset
But you will then need to call your migrations like normal to bring them up to date.
php artisan migrate
Finally you can reset and then migrate by calling
php artisan rebuild
Also note that it is generally bad practice to modify your migrations after they have been made, unless you literally just made it. Once it is deployed you should not modify it, and instead create a new migration file.
Hope this helps.
Edit: I somehow missed the Laravel 4 indicator. Most of these commands still work I believe, but you may need to adjust.