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

Migrate to SQLDelight #20

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

Migrate to SQLDelight #20

wants to merge 29 commits into from

Conversation

antweb
Copy link
Collaborator

@antweb antweb commented Jan 29, 2025

No description provided.

Updates the libpretixsync dependency to use the new SQLDelight version
and switches the tests over to run against a Postgres instance instead
of a temporary SQLite DB.

This is required since there is no proper support for mixing database
dialects in SQLDelight yet. As the server runs against Postgres, the
easiest way to deal with this is to run the tests with Postgres as well.
Since the tests now run against a Postgres database and the tables are
not explicitly dropped and the sequences are not reset between test
runs, it is no longer safe to make assumptions about local IDs.
@antweb antweb requested a review from raphaelm January 29, 2025 09:14
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

Successfully merging this pull request may close these issues.

1 participant