SchemaDifference class Null safety

Compares two schemas to produce migrations that conver the difference

Constructors

SchemaDifference(Schema oldSchema, Schema newSchema)

Properties

createdIndices Set<SchemaIndex>
read-only
droppedColumns Set<SchemaColumn>
read-only
droppedIndices Set<SchemaIndex>
read-only
droppedTables Set<SchemaTable>
read-only
forGenerator String
Output to be used when building up statements in a Migration
read-only
hasDifference bool
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
insertedColumns Set<SchemaColumn>
read-only
insertedTables Set<SchemaTable>
read-only
newSchema Schema
final
oldSchema Schema
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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