mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-12 17:09:39 -06:00
Aurora DSQL speaks a PostgreSQL-compatible wire protocol, but it uses IAM authentication and has DDL limits that differ from normal PostgreSQL. Serverless deployments need to select it with a dsql:// DATABASE_URL while the Diesel layer keeps using the PostgreSQL backend. Add a dsql feature, classify dsql:// URLs as PostgreSQL, and convert them to libpq URLs with cached IAM auth tokens. Route DSQL databases through a dedicated migration set instead of the normal PostgreSQL migrations. Keep the deployed DSQL migration versions and add DSQL migrations for upstream schema changes needed by this rebase. Split newer DSQL migrations into single-DDL, transactionless steps so they can run on Aurora DSQL. |
||
|---|---|---|
| .. | ||
| dsql | ||
| mysql | ||
| postgresql | ||
| sqlite | ||