MigrationVersionSql class

A representation of a migration version for running migrations.

Annotations

Constructors

MigrationVersionSql({required String version, required String moduleName, required String definitionSql, required String migrationSql})
Creates a new migration version SQL.
const

Properties

definitionSql → String
The full database definition SQL for this version.
final
hashCode → int
The hash code for this object.
no setterinherited
migrationSql → String
The incremental migration SQL that leads to this version.
final
moduleName → String
The module that owns this migration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → String
The migration version string (e.g. 20231205080937028 or with tag).
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