Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Collapse already run rails migrations
branch: gh-pages

This branch is even with gh-pages

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
doc
lib
rake_tasks
spec
.gitignore
GPL_LICENSE
MIT_LICENSE
README.rdoc
Rakefile
VERSION
index.html

README.rdoc

Migration Collapser

Collapse your rails migrations

Installation

gem install migration_collapser

Usage

First, load your production database:

mysql -u root my_dev_db < my_production_db.sql

Dump your production database (without data) in db/migrate/initial_schema.sql

mysqldump -u root --no-data my_dev_db > db/migrate/initial_schema.sql

Run the migration collapser from RAILS_ROOT:

collapse_migrations
Something went wrong with that request. Please try again.