discontinuedPackage powersync_core has been discontinued and replaced by powersync.

SqliteDownMigration class

Set of down migration statements, persisted in the database.

Since this will execute in an older application version, only static SQL statements are supported.

Constructors

SqliteDownMigration({required int toVersion})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toVersion → int
The database version after this downgrade.
final

Methods

add(String sql, [List<Object?>? params]) → void
Add an statement to execute to downgrade the database version.
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