This patch changes migration generation to use a UTC timestamp (YYYYMMDDHHMMSS) instead of a simple sequence. This should help minimize the number of migration collisions as more people do branch-heavy development.
This behavior can be disabled:
# Use a simple numeric sequence instead of UTC timestamps when generating migrations.
config.active_record.timestamped_migrations = false
This patch also adds Rake tasks to run the "up" and "down" actions of a specific migration without changing the persisted schema version.
rake db:migrate:up # Runs the "up" for a given migration VERSION.
rake db:migrate:down # Runs the "down" for a given migration VERSION.