Skip to content

Conversation

@antweb
Copy link
Collaborator

@antweb antweb commented Jul 23, 2024

No description provided.

@antweb antweb changed the title Prepare migration to SQLDelight version of libpretixsync Migrate to SQLDelight May 7, 2025
@antweb antweb marked this pull request as ready for review May 7, 2025 13:53
antweb and others added 25 commits July 16, 2025 11:36
PretixScan.data is no longer needed. This change removes the setup of
the BlockingEntityStore instance and moves the SQLCipher migration logic
to the init code for the SQLDelight database.
The Android driver already handles migrations and schema creation for
us.
To avoid trouble with migrations, it's safer to just re-open
the DB after the cipher migration, so that SQLDelight's on-open hooks
can run properly.
In the previous state, at least some of the initial queries failed,
including at least one `PRAGMA user_version;` query.
Questions are not synced when running against a pretixSCAN proxy.
optString returns "null" for null values, which makes "null" visible in
the UI.
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.

3 participants