# ilyakatz/data-migrate

Migrate and update data alongside your database structure.

Repository: https://github.com/ilyakatz/data-migrate
Canonical: https://ross.abutalabs.com/products/data-migrate
Language: Ruby
License: MIT
License Family: permissive
Topics: data-schema, schema-migrations, rails
Last push: 2026-07-19T08:07:43+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 54, longevity 100
- inputs: {"age_days": 5615, "days_push": 45, "days_rel": 310, "gap_med": 27.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1549, forks 198 (observed 2026-08-28T04:05:02.030275+00:00)

## What it is
A Ruby gem for Rails that lets you run data migrations alongside schema migrations. Data migrations live in db/data and are tracked in a data_migrations table, mirroring Rails' standard schema migration workflow.

## Use cases
- backfill or transform existing records when deploying schema changes
- titleize all existing titles in a database
- run data updates in production separately from schema migrations
- track which data migrations have already run
- generate data migrations like regular Rails migrations

## When to choose
- you have a Rails app with ActiveRecord and need to change data as part of a migration
- you want data changes versioned and tracked like schema migrations
- you need separate rake tasks for data-only migrations in production

## When to avoid
- you are not using Rails or ActiveRecord
- you only need schema migrations, which Rails already handles
- you need migrations for non-Ruby databases or ETL pipelines

## Facets
- artifact type: library
- maturity: active
- function: database, etl, developer-tools
- domain: databases, web-development, backend, developer-tools
- platform: ruby
- tags: ruby-gem, rails, data-migrations, schema-migrations, activerecord

## Member repositories
- ilyakatz/data-migrate (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:02.030275+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:22.941982+00:00, confidence not recorded.
  - readme: https://github.com/ilyakatz/data-migrate (fetched 2026-08-28T04:05:02.030275+00:00, sha a6d77f311166)
- Data as of 2026-08-30T08:39:29.467469+00:00.
