No commit activity in last 3 years
No release in over 3 years
If you are migration seed data and only what the migration to run once it is best to log that the migration has already run. This separates data migrations from schema migrations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

> 3.2.12
 Project Readme

DataMigrations¶ ↑

This project rocks and uses MIT-LICENSE.

Getting started¶ ↑

add this to your gemfile

gem 'seed_data_migrations'

run the following in the command line

bundle install
rake seed_data_migrations_engine:install:migrations
rake db:migrate

Creating your first Data Migration¶ ↑

This is best shown by a example… (very similar to schema migrations)

rails g seed_data_migrations  description_of_your_data_migration
   =>  create  db/seeds/20140224043148_description_of_your_data_migration.rb
rake db:migrate_data