peridot icon indicating copy to clipboard operation
peridot copied to clipboard

add automated tests for migration scripts

Open PaulCharlton opened this issue 2 years ago • 0 comments

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

PaulCharlton avatar Feb 18 '23 01:02 PaulCharlton