MigrationPlan class final

SQL for a reviewed schema transition on one database engine.

Automatic planning only creates tables and adds nullable or literal-default columns. Drops, renames, constraint/type changes and identity changes require explicitly authored migration SQL. No rename is inferred from similarity.

Constructors

MigrationPlan({required Engine engine, required List<String> steps, required SchemaSnapshot snapshot})

Properties

engine → Engine
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snapshot → SchemaSnapshot
final
steps → List<String>
final

Methods

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