wilfred-dev / wilfred

🐿️ A CLI for managing game servers using Docker.
https://wilfredproject.org
MIT License
35 stars 2 forks source link

Database migrations #20

Open vilhelmprytz opened 4 years ago

vilhelmprytz commented 4 years ago

Is your feature request related to a problem? Please describe. The implementation from #19 lacks any migrations of any kind, even if it's a lot better than it was before. In order to ensure the project can envolve, the database needs to be more flexible.

Describe the solution you'd like Database migrations. I've tried to implement alembic but I'll have to look more into how to use the API (alembic is mainly a CLI).

Describe alternatives you've considered yoyo-migrations, but it doesn't seem to support SQLAlchemy.

Additional context This was meant to be included in #16 and consequentially #19, but I decided to put the whole database migration thing on hold for a bit.