Skip to content
railsengines.com

Seed Migration

Seed Migration

No ratings yet
Gem
seed_migration
Repository
galtzo-floss/seed_migration
License
MIT
Stars
383
Added
August 21, 2026

About

🌱 Seed Migration

Seed Migrations are a way to manage changes to seed data in a rails app in a similar way to how schema migrations are handled.

What you get

  • Clean your local database, and seed it, that can be done with rake db:reset
  • register all the models that were created in the original seeds file
  • run rake seed:migrate
  • At this point, your seeds file will be rewritten with all the create statements
  • Commit/Push the updated seeds file

Installing it

ruby
# Gemfile
gem "seed_migration"

Details

383 stars on GitHub · MIT licensed · maintained by galtzo-floss. Source: https://github.com/galtzo-floss/seed_migration

Discussion (0)

Sign in to join the discussion.

No comments yet.