migrators library
Classes
Constants
- kPostgresQueryBuilder → const PostgresBuilder
- kSqliteQueryBuilder → const SqliteBuilder
Functions
-
makeMigration(
MetaData migration, QueryBuilder builder) → Migration -
Takes a migration's meta data and returns a migration.
The returned migration contains all DDL statements
as well as the necessary triggers.
migration
The migration's meta data. @returns The corresponding migration. -
makeStmtMigration(
Migration migration) → StmtMigration -
parseMetadata(
Map< String, Object?> data) → MetaData - Parses the metadata JSON object that accompanies a migration. The main purpose of this function is to decode the array of base64-encoded operations.