peridot
peridot copied to clipboard
add automated tests for migration scripts
Is this feature request related to a problem? If so, please describe it.
n/a
Describe the solution you'd like to see
any new, altered, or removed fields in a model should be represented by an appropriate migration script
in any event, old schema+migrations should produce an identical model to that contained in the wrapper code.
go test script can apply migrations, read column headers, and compare those to the model definition via introspection on the model definition
Have you considered alternative solutions/features? If so, please describe them.
No response
Version and Build Information
all
Additional Context
No response