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

[feature request] generate migrations from scheme #1660

Closed
trsh opened this Issue Apr 25, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@trsh

trsh commented Apr 25, 2018

I know that some DB alterations can be complex and need manual work, but most of the time its small things. So why can't we do this other way around - change scheme, cli check for alterations and generates and migration?

@sgrif

This comment has been minimized.

Member

sgrif commented Apr 25, 2018

This feature has been requested in the past, and isn't something we're interested in adding to Diesel. We prefer the workflow of writing your migrations, and generating your schema from that.

@sgrif sgrif closed this Apr 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment