Fixed migration_template call

The migration_template calls were missing an argument according to Rails 4.1.  And required creating the next_migration_number call to complete without error.