MigrationHistory class final

Statically imported migrations and their independently recorded fingerprints. Keep these entries in version order. checked validates before returning them.

Constructors

MigrationHistory(Iterable<(Migration, String)> entries, {required SqlDialect dialect})
Copies the ordered entries; checked validates their reviewed fingerprints.

Properties

checked List<Migration>
Returns an immutable, validated history or throws on a changed fingerprint.
no setter
dialect SqlDialect
The fixed database engine shared by every entry.
final
entries List<(Migration, String)>
Migration values paired with their independently reviewed checksums.
final
hashCode int
The hash code for this object.
no setterinherited
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