Duplicate Migrations plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://wush.net/svn/public/plugins/duplicate_migrations
CAUTION
=================
* Do not rename your migrations unless you modify their entries schema_infos as well (not recommended)!
* Do not allow dependencies between migrations with the same version number! A migration should only be dependent on versions strictly smaller than it, as the run ordering of migrations with the same version not guaranteed.
RAKE TASKS
=================
rake db:migrate - Migrate supporting duplicate migrations rake db:old_migrate - Migrate the traditional rails way (don't mix!) rake db:convert:allow_duplicates - Copy version information from schema_info to schema_infos rake db:convert:disallow_duplicates - Copy version information from schema_infos to schema_info rake db:cleanup:delete_duplicates - Deletes the schema_infos table rake db:cleanup:delete_nonduplicates - Deletes the schema_info table
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (1 older version) | Last edited by: scott, 3 months ago

