SchemaDifference class

Compares two schemas to produce migrations that conver the difference

Constructors

SchemaDifference(Schema oldSchema, Schema newSchema)

Properties

createdIndices Set<SchemaIndex>
no setter
droppedColumns Set<SchemaColumn>
no setter
droppedIndices Set<SchemaIndex>
no setter
droppedTables Set<SchemaTable>
no setter
forGenerator String
Output to be used when building up statements in a Migration
no setter
hasDifference bool
no setter
hashCode int
The hash code for this object.
no setterinherited
insertedColumns Set<SchemaColumn>
no setter
insertedTables Set<SchemaTable>
no setter
newSchema Schema
final
oldSchema Schema
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
toMigrationCommands() List<MigrationCommand>
Generates migration commands from the schemas' differences
toString() String
A string representation of this object.
inherited

Operators

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