SQLiteGateway class
Constructors
- SQLiteGateway(Database _db, {String tablePrefix = '_migrations'})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply(
Migration migration) → Future< void> - Applies the migration and records its version.
-
currentVersion(
) → Future< String?> - Returns the current version or null if the version is not yet defined.
-
dropMigrations(
) → Future< void> - Drops the migrations table.
-
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