SchemaTableDifference class

The difference between two SchemaTables.

This class is used for comparing schemas for validation and migration.

Constructors

SchemaTableDifference(SchemaTable expectedTable, SchemaTable actualTable)
Creates a new instance that represents the difference between expectedTable and actualTable.

Properties

actualTable SchemaTable
The actual table. [...]
final
columnDifferences → List<SchemaColumnDifference>
read-only
columnsToAdd → List<SchemaColumn>
read-only
columnsToModify → List<SchemaColumnDifference>
read-only
columnsToRemove → List<SchemaColumn>
read-only
errorMessages → List<String>
Human-readable list of differences between expectedTable and actualTable.
read-only
expectedTable SchemaTable
The expected table. [...]
final
hasDifferences → bool
Whether or not expectedTable and actualTable are the same.
read-only
uniqueSetDifference SchemaTableUniqueSetDifference
The difference between SchemaTable.uniqueColumnSets. [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
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
toString() → String
Returns a string representation of this object.
inherited

Operators

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