SqliteMigrationRecord class

Single migration history record stored in SQLite.

Constructors

SqliteMigrationRecord({required String name, required DateTime appliedAt, required int statementCount, required SqliteMigrationRecordKind kind, required List<String> warnings, required bool rebuildRequired, String? targetName, String? provider, String? checksum, String? beforeSchema, String? afterSchema})
Creates a migration history record.
const

Properties

afterSchema String?
Stored schema snapshot after the migration.
finalinherited
appliedAt DateTime
Timestamp recorded in history.
finalinherited
beforeSchema String?
Stored schema snapshot before the migration.
finalinherited
checksum String?
Checksum stored for drift detection.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isApply bool
Whether this record represents an apply operation.
no setterinherited
isRollback bool
Whether this record represents a rollback operation.
no setterinherited
kind SqliteMigrationRecordKind
History record kind.
finalinherited
name String
Migration name.
finalinherited
provider String?
Provider name stored with the migration.
finalinherited
rebuildRequired bool
Whether the migration required a rebuild.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statementCount int
Number of executed statements.
finalinherited
targetName String?
Rollback target name, when kind is rollback.
finalinherited
warnings List<String>
Warnings associated with the migration.
finalinherited

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