# fluentmigrator/fluentmigrator

Fluent migrations framework for .NET

Repository: https://github.com/fluentmigrator/fluentmigrator
Canonical: https://ross.abutalabs.com/products/fluentmigrator
Homepage: https://fluentmigrator.github.io
Language: C#
License: Apache-2.0
License Family: permissive
Topics: fluentmigrator, database-schema, database, migration, sql, sql-server, postgres, redshift, db2, mysql, dotnet, snowflake, oracle
Last push: 2026-08-26T18:25:31+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 66, longevity 100
- inputs: {"age_days": 5999, "days_push": 7, "days_rel": 225, "gap_med": 6, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3511, forks 703 (observed 2026-08-28T04:08:07.727237+00:00)

## What it is
FluentMigrator is a .NET database migration framework inspired by Ruby on Rails Migrations, letting developers define schema changes as C# classes with a fluent API. It tracks applied migrations automatically, supports rollbacks, and works across many database providers including SQL Server, PostgreSQL, MySQL, SQLite, and Oracle.

## Use cases
- manage database schema migrations in .net
- replace manual sql scripts with versioned c# migrations
- keep dev test and production database schemas in sync
- roll back database schema changes
- write database-agnostic schema changes for multiple providers
- track which database migrations have been applied

## When to choose
- you're on .NET and want code-based, version-controlled database migrations
- you need to support multiple database providers with one migration codebase
- you want automatic migration tracking and rollback support

## When to avoid
- you prefer plain SQL migration scripts or a different migration tool like EF Core Migrations or DbUp
- your project is not on the .NET platform

## Facets
- artifact type: library
- maturity: active
- function: database, orm, developer-tools, cli
- domain: databases, developer-tools, backend
- platform: dotnet, cross-platform, cli
- tags: database-migrations, schema-migration, fluent-api, sql-server, postgresql, mysql, sqlite, oracle, version-controlled-schema, rollback-support, automation

## Member repositories
- fluentmigrator/fluentmigrator (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.727237+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-29T18:35:43.179600+00:00, confidence not recorded.
  - readme: https://github.com/fluentmigrator/fluentmigrator (fetched 2026-08-28T04:08:07.727237+00:00, sha 2e5d2164ef74)
  - homepage: https://fluentmigrator.github.io (fetched 2026-08-29T09:29:32.893350+00:00, sha c682cca474f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
