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

Database migrations #29

Open
ErikBjare opened this issue Apr 25, 2017 · 2 comments
Open

Database migrations #29

ErikBjare opened this issue Apr 25, 2017 · 2 comments

Comments

@ErikBjare
Copy link
Member

ErikBjare commented Apr 25, 2017

Me and @johan-bjareholt have had some discussion about this since it's something we'd need if we want to change the database schema between versions once we have real users.

I looked around for migration tooling and found the minimalistic caribou: https://github.com/clutchski/caribou

Last commit was 7 years ago and only seems to support Python 2.6 but the code base is really small (271 LOC) and I wouldn't mind forking it and updating it myself. Unless there is something equally simple out there.

@ErikBjare
Copy link
Member Author

There is also a peewee module meant to aid in migration: http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#migrate

@ErikBjare
Copy link
Member Author

Did some minor prep in #31

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