Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add automated tests for migration scripts #102

Open
PaulCharlton opened this issue Feb 18, 2023 · 0 comments
Open

add automated tests for migration scripts #102

PaulCharlton opened this issue Feb 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@PaulCharlton
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants