SqliteMigration class final

One append-only SQLite migration loaded from a numbered SQL file.

Constructors

SqliteMigration({required String name, required String sql})
Creates a migration and validates its D1-compatible file name.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
File name recorded in the native SQLite migration history.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sql → String
Complete SQL script executed as one migration.
final
version → int
Numeric prefix used to order the migration.
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