turso migration

This commit is contained in:
Devin Zuczek
2026-09-27 15:38:52 -04:00
parent b32b16c1f0
commit 3f2cf2e700
34 changed files with 946 additions and 49 deletions
+8
View File
@@ -20,6 +20,14 @@ export type SharedHonoEnv = {
* Useful for logs, Sentry, etc.
*/
SENTRY_RELEASE: string
/**
* A libSQL server (Turso) to use INSTEAD of the D1 binding, e.g. `libsql://<db>-<org>.turso.io`.
* Set by `just deploy` from `RECFLARE_LIBSQL_DB_URL`; unset means D1. Read only by
* `withDatabase` in @repo/domain, which swaps `DB` for the matching adapter.
*/
LIBSQL_DB_URL?: string
/** That server's auth token — a worker SECRET `just deploy` sets, never a var. */
LIBSQL_DB_AUTH_TOKEN?: string
}
/** Global Hono variables */
export type SharedHonoVariables = {