MigrationConfig class

Contains the needed configuration to run the migration on a sqlite database.

initializationScript (required) should create the initial db state in a form of sql script. Every item in the list must contain a single sqlite statement. Must not be empty.

migrationScripts (required) should contain migrations towards the newest db state. Every item in the list must contain a single sqlite statement. Must not be empty.

Constructors

MigrationConfig({required List<String> initializationScript, required List<String> migrationScripts})

Properties

hashCode int
The hash code for this object.
no setterinherited
initializationScript List<String>
final
migrationScripts List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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