PostgresMigrationRunner class
A PostgreSQL database migration runner
- Implemented types
Constructors
-
PostgresMigrationRunner(Connection connection, {Iterable<
Migration> migrations = const [], bool connected = false})
Properties
- connection → Connection
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
migrations
→ Map<
String, Migration> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addMigration(
Migration migration) → void -
override
-
close(
) → Future -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → Future -
override
-
rollback(
) → Future -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
up(
) → Future -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited