laravel/laravel — pull request #1015 by Anahkiasen (2012-07-27 08:49:20+00:00)
Title: Added a prefilled stub for migrations

I have created a lot of migrations since I started using Laravel, and over the time, **nearly 100% of them looked like this** :

```php
increments('id');
// More fields
});
}

/**
* Revert the changes to the database.
*
* @return void
*/
public function down()
{
Schema::drop('{{table}}');
}
}
```

So that's pretty much what this pull request does : it allows you to do `artisan migrate:make create_users users` where `create_users` is the migration name and `users` is the table name.
I wonder if some sort of shortcut might in some way be created, allowing the migration name to be determined by the table's name (ie. users -> create_users, etc.) which pretty much seems to be the convention anyway.

I really think Laravel should merge Bob as all the scaffolding options it offers not only put Laravel on the level of Rail's `scaffold` but it would really help newcomers a lot when trying to create new models and migrations – it offers a solid base convention on which they can learn and bootstrap.
Well that's just my opinion anyway.