Schema class
A Schema is a list of migrations and information about the schema the migrations act on. This class can be extended to introduce new Schema specific functionality and utilized by the migration engine. Ex: Each schema should handle its own restore logic instead of the MigrationEngine implementation. @Override restoreDbFromBackup(T schema){ schema.restore(); }
Properties
- context ↔ Object?
-
Dynamic object that can continuously be upgraded and replaced passed to each migration in order
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
migrations
↔ List<
Migration> -
getter/setter pair
- name → 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