DatabaseSchemaDiff class

Available extensions

Constructors

DatabaseSchemaDiff(DatabaseSchema existingSchema, DatabaseSchema newSchema)

Properties

existingSchema ↔ DatabaseSchema
getter/setter pair
hasChanges → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
newSchema ↔ DatabaseSchema
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tables ↔ Diff<TableSchema, TableSchemaDiff>
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Session db) → Future<void>

Available on DatabaseSchemaDiff, provided by the DiffPatch extension

Applies the computed schema migrations to the database db.
printToConsole() → void
Prints the computed schema differences to the console.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited