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

WIP: Refactor server database #6263

Draft
wants to merge 244 commits into
base: master
Choose a base branch
from

Conversation

Krzmbrzl
Copy link
Member

@Krzmbrzl Krzmbrzl commented Nov 19, 2023

This PR completely rewrites the database handling on the server side. In so doing it cleans up and unifies the mess of the current implementation and adds proper unit testing support - in particular for data migration paths, which should provide an overall more reliable experience for users as the tests more or less guarantee that the data migration will work as intended. Additionally, since unit tests are run against all supported backends (SQLite, MySQL, PostgreSQL), all should work equally fine (at least from a functionality point of view).

As a bonus, the dependence on Qt for the database handling is completely removed. Instead, the new framework is built on SOCI.

This PR should address the following issues:

Checks

@Krzmbrzl Krzmbrzl added server feature-request This issue or PR deals with a new feature labels Nov 19, 2023
@Krzmbrzl Krzmbrzl changed the title WIP: Refactor database WIP: Refactor server database Nov 19, 2023
@Krzmbrzl Krzmbrzl force-pushed the refac-database branch 5 times, most recently from a26dd78 to 28acdc8 Compare January 1, 2024 13:39
@Krzmbrzl Krzmbrzl force-pushed the refac-database branch 2 times, most recently from 2a149e9 to 825b6b1 Compare March 7, 2024 20:00
@Krzmbrzl Krzmbrzl force-pushed the refac-database branch 3 times, most recently from a0b5044 to 0cff06a Compare April 6, 2024 15:09
@Krzmbrzl Krzmbrzl force-pushed the refac-database branch 2 times, most recently from 3584ad3 to 62ac5fc Compare May 20, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue or PR deals with a new feature server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant