API database backend swapped to tokio-postgres
The biggest change this week is a backend migration in the API from sqlx to tokio-postgres plus deadpool-postgres. The move is aimed at avoiding named prepared statement issues when running through Cloudflare Hyperdrive.
Migration and query behavior were adapted
To make the swap land cleanly, the code now replicates migration handling, fixes query type mismatches, and adds tests around the affected queries so the change can be reverted or adjusted without schema churn.
Other misc changes
- Removed
sqlx-specific setup and checks from CI and contributor docs - Updated workspace membership and README instructions for the new migration flow
- Regenerated and removed
.sqlxquery metadata files