MigrationExecutor class

Mixed-in types

Constructors

MigrationExecutor.new({required Config config, required EnvConfig env, required PasswordProvider passwordProvider, bool allowRollback = true})
const

Properties

allowRollback bool
final
config Config
final
env EnvConfig
final
hashCode int
The hash code for this object.
no setterinherited
passwordProvider PasswordProvider
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clean({CleaningDelegate? delegate}) Future<void>
fixMigration(String identity, {FixingDelegate? delegate}) Future<void>
getBriefMigration(String path) Future<BriefMigration>
inherited
getLocalMigration(BriefMigration brief) Future<LocalMigration>
inherited
getMigrationIdentity(String path) MigrationIdentity
inherited
getPostgresUrl() Future<String>
getScript(String path, String name) Future<String>
inherited
migrate({String? targetIdentity, MigrationDelegate? delegate}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited