Switch to SQLx migrations #89

Open
opened 2021-09-05 07:58:41 +00:00 by projectmoon · 0 comments
Owner

Using refinery for migrations means an in-memory connection cannot be shared, because refinery does not support SQLx as a backend. This means unit tests must use a file-based sqlite database, and that leaves a bunch of files behind when executing unit tests. Switching to SQLx fully allows us to properly use an in-memory connection for tests.

Using refinery for migrations means an in-memory connection cannot be shared, because refinery does not support SQLx as a backend. This means unit tests must use a file-based sqlite database, and that leaves a bunch of files behind when executing unit tests. Switching to SQLx fully allows us to properly use an in-memory connection for tests.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: projectmoon/tenebrous-dicebot#89
No description provided.