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 some machinery to run migrations #72

Open
bfabio opened this issue Jul 14, 2022 · 0 comments
Open

Add some machinery to run migrations #72

bfabio opened this issue Jul 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@bfabio
Copy link
Member

bfabio commented Jul 14, 2022

GORM's automigrate works well, but in some cases it can't run migrations by itself without failing, for example if a new "NOT NULL" constraint is added when there's already NULL data in the column.

We should add a more explicit way of expressing data and schema migrations to handle cases like that one.

@bfabio bfabio added the enhancement New feature or request label Jul 14, 2022
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

1 participant