SqlMigration class
Describes a migration using an SQL statement.
SqlMigration will execute the given migration sql via sqflite Database.execute() method.
Constructors
- SqlMigration(String sql, {String? reverseSql, MigrationErrorStrategy? errorStrategy, MigrationErrorStrategy? reverseErrorStrategy})
-
Construct a migration that will execute
sql
during upgrade (andreverseSql
during downgrade, if provided).
Properties
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