-
Notifications
You must be signed in to change notification settings - Fork 583
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
Auto-generate database migrations #151
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm coming from a python background, and there I used sqlalchemy ORM with the alembic migration tool.
What I liked about Sugar was how nice it is to write queries and set up models. It reminds me of SQLAlchemy, and that is a very good thing.
However, while you guys do provide migrations via the sql files in the migrations folders, I feel that since it doesn't auto-generate migrations, the usability of Sugar is dimished somewhat, especially sice we are talking about SQLite, which is full of little details that make writing certain migrations (
ALTER TABLE
s come to mind) a pain.I also want to say that I am aware that this is a really tall order. Alembic is a huge project, is probably just as complex, and at the end of the day I still have to validate the scripts that it generates. Even so, I feel that it is important to Sugar to consider having this kind of tool.
Thanks!
The text was updated successfully, but these errors were encountered: