SchemaDifference constructor
Compares two schemas to produce migrations that conver the difference
Implementation
SchemaDifference(this.oldSchema, this.newSchema)
: assert(
oldSchema.version < newSchema.version,
'Old schema is a newer version than the new schema',
);