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 a database version field to the database #131

Open
CptPie opened this issue Mar 6, 2022 · 2 comments
Open

Add a database version field to the database #131

CptPie opened this issue Mar 6, 2022 · 2 comments
Labels
enhancement New feature or request rework A existing feature that requires an rework.

Comments

@CptPie
Copy link
Collaborator

CptPie commented Mar 6, 2022

Mostly used for data migration.
This might aswell allow automatic data migration when the server detects an older db version utilizing the (somewhat) existing database migration scripts (maybe do automatic migration as a cli flag that is off per default?)

@CptPie CptPie added enhancement New feature or request rework A existing feature that requires an rework. labels Mar 6, 2022
@joeyak
Copy link
Collaborator

joeyak commented Mar 9, 2022

Would using an ORM to create and manage the database help? I'm on the fence about whether ORMs help more than be a pain for smaller projects.

@CptPie
Copy link
Collaborator Author

CptPie commented Mar 9, 2022

iirc we already had the ORM discussion either in #41 or Stream, i think its more hassle that it would be worth esp for now.
Once we support multiple data backends it MIGHT be worth to revisit the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rework A existing feature that requires an rework.
Projects
None yet
Development

No branches or pull requests

2 participants