Skip to content

Another data migrator to separate data migration from schema migration

License

Notifications You must be signed in to change notification settings

xykox/kzu_data_migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KzuDataMigrator

Use it if you want manipulate data migration completely outside of the schema migration process.

Usage

$ rails g kzu_data_migration MigrateUserName
      create  db/data-migrate/20160115173103_migrate_user_name.rb
$ rake db:data:migrate

Or to a specific version

$ rake db:data:migrate:up VERSION=20160115173103

You could also downgrade

$ rake db:data:migrate:down VERSION=20160115173103

Similar gems

data-migrate

migration-data

Dependencies

Rails 4.2

ActiveRecord 4.2

TODO

  • Capistrano task
  • tasks to migrate schema and data in one go
  • tests
  • Rails 4.x

About

Another data migrator to separate data migration from schema migration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published