GitHubSupport MSR

How MSR fits together

One Migration Workflow, Built to Grow

Follow a migration from the CLI or application API through Core and an adapter to the database.

MSR ecosystem map

MSR FirebaseOFFICIAL ADAPTERMSR PostgreSQLIN DEVELOPMENTMSR CORESHARED MIGRATION WORKFLOW

More than one package

Why call MSR an ecosystem?

MSR is an ecosystem because its components are maintained and released separately while sharing documented contracts. This lets Core, database integrations, and their CLIs evolve at different speeds without splitting the migration workflow.

One connected workflow

How the pieces work together

  1. Step 01

    INPUT

    Choose how to run

    Use an adapter CLI or call the runner from your application.

  2. Step 02

    CORE

    Core coordinates the workflow

    Discover, validate, order, and execute the selected migrations.

  3. Step 03

    ADAPTER

    An adapter handles the database

    Database-specific behavior is supplied through adapter contracts.

  4. Step 04

    DATABASE

    Your database is updated

    The adapter applies changes and tracks state as it supports.

The building blocks

What the ecosystem includes

Each part has a focused responsibility and connects to the others through documented interfaces and workflows.

Shared foundation

MSR Core

Coordinates the common migration workflow and exposes APIs and contracts that adapters build on.

Explore Core documentation

Database-specific behavior

Database adapters

Connect Core to a database and provide the operations that depend on it, such as state tracking, transactions, backups, or locking.

Explore the Firebase adapter

Ways to run migrations

CLI and application API

Run migrations from an adapter CLI in a terminal or CI/CD pipeline, or integrate the runner API into a TypeScript or JavaScript application.

Browse capabilities

Shared understanding

Documentation and extension guides

Core and adapter documentation explain configuration, supported behavior, and how to connect another database through the adapter contracts.

Read the adapter development guide

Designed to grow

A shared foundation for more databases

Firebase Realtime Database is available today. PostgreSQL is in development; additional adapters can be built against the same documented contracts. Check the support matrix for the capabilities currently implemented by each adapter.

    MSR Ecosystem | Migration Script Runner (MSR)