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

Add automated migrations #58

Open
LiquidLemon opened this issue Mar 20, 2024 · 2 comments
Open

Add automated migrations #58

LiquidLemon opened this issue Mar 20, 2024 · 2 comments

Comments

@LiquidLemon
Copy link
Member

We need introduce some migration tooling to be able to safely modify the database schema. The official tooling is lacking, so here are some options to consider:

Or we could even use some generic SQL tool. I know Flyway used to be popular but they try to sell the paid versions so hard it's difficult to even find the docs on their website now :(

@LiquidLemon
Copy link
Member Author

https://github.com/ariga/atlas seems really interesting because it supports generating migrations from SQL schema which means we don't need to rely on Peewee support 👀

@not7cd
Copy link
Contributor

not7cd commented Mar 21, 2024

Atlas looks cool 😎. Maybe we should use it?

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

2 participants