| 37 | // already-opened `db`. Delegates to the shared factory; the local wrapper |
| 38 | // keeps the cloud-specific default version + option names. |
| 39 | export const createDrizzleFumaDb = <const TTables extends FumaTables>( |
| 40 | options: CreateDrizzleFumaDbOptions<TTables>, |
| 41 | ): DrizzleFumaDb<TTables> => |
| 42 | createExecutorFumaDb(options.db, { |
| 43 | tables: options.tables, |
| 44 | namespace: options.namespace, |
| 45 | version: options.version ?? "1.0.0", |
| 46 | provider: options.provider, |
| 47 | }); |
| 48 | |
| 49 | export const CLOUD_NAMESPACE = "executor_cloud"; |
| 50 | |