Migration class abstract

A migration that will only be executed once.

Constructors

Migration()

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
A unique identifier for the Migration that does not change over time
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

migrate() Future<MigrationResult>
Execute the migration and return a MigrationResult indicating the result.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rollback() Future<void>
Revert the migration output of migrate The MigrationReport for this migration will be removed
toString() String
A string representation of this object.
inherited

Operators

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