Migrations for MongoMapper
Ruby
Switch branches/tags
Pull request Compare This branch is 16 commits ahead, 1 commit behind moxiespaces:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators
lib
tasks
test
.gitignore
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
README.markdown
Rakefile
init.rb
install.rb
leifcr-mongrations.gemspec
mongrations.sublime-project
uninstall.rb

README.markdown

Build Status

Mongrations

Mongrations aims to be similar to ActiveRecord's data migrations, except instead of worrying about schema changes, offering a way to change data when necessary.

Example

To generate a mongration:

rails g mongration whatever_you_want_your_mongration_to_be

Perform migrations

rake mongo:mongrate

Other rake tasks mongo:mongrate:redo, mongo:mongrate:up, mongo:mongrate:down, mongo:mongrate:rollback, mongo:mongrate:version.

License

Released under the MIT license