I've just started using Laravel and I'm having trouble with artisan and migrations.
I create a migration using: php artisan migrate:make create_clubs_table
. I am able to then create a db schema.
But when I change the schema and create a new migration using the above command I get the following error:
PHP Fatal error: Cannot redeclare class CreateClubsTable in /var/www/clubb/app/database/migrations/2013_10_16_202121_create_clubs_table.php on line 43
Now, I know it's because I now have 2 migrations with the same class name, but isn't that the idea of migrations, or am I misunderstanding the docs? Am I supposed to delete the old migrations?