Migration class abstract
Base contract migrations extend.
Constructors
- Migration()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
down(
SchemaBuilder schema) → FutureOr< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
plan(
MigrationDirection direction, {SchemaSnapshot? snapshot, String? defaultSchema, String? tablePrefix}) → SchemaPlan - Builds a plan for the requested direction.
-
toString(
) → String -
A string representation of this object.
inherited
-
up(
SchemaBuilder schema) → FutureOr< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited