migrations library

Classes

PostgresqlCliSession
Open PostgreSQL session and its close hook.
PostgresqlMigrationCli
Command-line entry point for PostgreSQL migration workflows.
PostgresqlMigrationDraft
File-backed PostgreSQL migration draft created from schema diffing.
PostgresqlMigrationPlan
PostgreSQL schema diff result.
PostgresqlMigrationPlanner
Computes PostgreSQL migration plans from schema diffs or live databases.
PostgresqlMigrationRecord
Single migration history record stored in PostgreSQL.
PostgresqlMigrationResult
Result of applying a PostgreSQL migration plan.
PostgresqlMigrationRunner
Applies, records, and rolls back PostgreSQL migrations.
PostgresqlMigrationService
High-level PostgreSQL migration orchestration service.
PostgresqlMigrationStatus
Summary returned by PostgreSQL migration status checks.
PostgresqlMigrationStatusIssue
Issue reported by status when local and database migration state differ.
PostgresqlRollbackResult
Result of rolling back PostgreSQL migration state.
PostgresqlSchemaApplier
Builds PostgreSQL DDL statements from schema definitions.
PostgresqlSchemaIntrospector
Introspects live PostgreSQL schemas into SchemaDocument values.

Enums

PostgresqlMigrationRecordKind
Record kind stored in PostgreSQL migration history.

Typedefs

PostgresqlCliConnectionOpener = Future<PostgresqlCliSession> Function(String connectionUrl)
Opens a PostgreSQL session used by the migration CLI.