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

Help with alter table queries #41

Closed
coleifer opened this issue Jan 7, 2012 · 1 comment
Closed

Help with alter table queries #41

coleifer opened this issue Jan 7, 2012 · 1 comment

Comments

@coleifer
Copy link
Owner

coleifer commented Jan 7, 2012

Although there are no automated 'migrations' in peewee, it would be helpful to give users a way to get column sql and generate alter table queries (or with sqlite, since there's no drop column, maybe the temptable thing).

@coleifer
Copy link
Owner Author

coleifer commented Jan 8, 2012

Decided that the range of possible alter table queries really precludes a general purpose solution that wouldn't involve a whole lot of code. Going to leave this up to the end-user to handle if it goes beyond the most basic case (add/drop/rename col).

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

No branches or pull requests

1 participant