MigrationHistory class final

Ordered static registration of immutable migrations for one engine.

Versions must be positive and strictly increasing. Gaps are allowed; sorting or rewriting historical entries is never performed automatically.

Constructors

MigrationHistory({required Engine engine, required List<Migration> migrations})

Properties

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

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