SqliteMigrationDraft class

File-backed SQLite migration draft created from schema diffing.

Constructors

SqliteMigrationDraft({required String name, required DateTime generatedAt, required SqliteMigrationPlan plan, required String beforeSchema, required String afterSchema})
Creates a migration draft.
const

Properties

afterSchema String
Schema source after the migration.
finalinherited
beforeSchema String
Schema source before the migration.
finalinherited
checksum String
Stable checksum used for migration history validation.
no setterinherited
generatedAt DateTime
Draft creation timestamp.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
Migration directory name.
finalinherited
plan SqliteMigrationPlan
Migration plan derived from the schema diff.
finalinherited
providerName String
Provider name used for checksums and history metadata.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sqlScript String
SQL script written to migration.sql.
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