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

Auto-generate database migrations #151

Closed
CatarinaPBressan opened this issue Aug 26, 2014 · 1 comment
Closed

Auto-generate database migrations #151

CatarinaPBressan opened this issue Aug 26, 2014 · 1 comment
Labels
Milestone

Comments

@CatarinaPBressan
Copy link

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 TABLEs 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!

@sibelius
Copy link
Contributor

fixed with #328

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

No branches or pull requests

3 participants