Documentation
¶
Overview ¶
Package modeltest compares schemadiff models in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Comparable ¶
func Comparable(m schemadiff.Model) schemadiff.Model
Comparable returns m without the fields introspection reads on one side only, so a live model and the desired model of the same table compare equal exactly when they describe the same table. Constraint.IndexDef and the replayed texts of definitions are read for a desired table and never for a live one.
Types ¶
This section is empty.