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

feat(sql): generate down migrations automatically #2139

Merged
merged 1 commit into from
Aug 24, 2021
Merged

Conversation

B4nan
Copy link
Member

@B4nan B4nan commented Aug 23, 2021

Currently not supported in sqlite driver, due to how knex does complex
schema diffing in sqlite (always based on current schema, which is not
"in sync", as we generate the down migration in the same time as up one,
which is not yet executed).

@B4nan B4nan force-pushed the down-migrations branch 3 times, most recently from 82739d8 to eba7bd3 Compare August 23, 2021 19:35
Currently not supported in sqlite driver, due to how knex does complex
schema diffing in sqlite (always based on current schema, which is not
"in sync", as we generate the down migration in the same time as up one,
which is not yet executed).
@B4nan B4nan merged commit 7d78d0c into master Aug 24, 2021
@B4nan B4nan deleted the down-migrations branch August 24, 2021 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant