diff options
| author | Frank <[email protected]> | 2025-08-08 13:22:54 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-08-08 13:24:32 -0400 |
| commit | 183e0911b76025a1f2a82e979d9834fec2131d0e (patch) | |
| tree | 9987c1753bd64d1ce1d174ab397f1a8c681f642c /cloud/core/drizzle.config.ts | |
| parent | c7bb19ad0712469063eab35589aa5d3602b0c5b1 (diff) | |
| download | opencode-183e0911b76025a1f2a82e979d9834fec2131d0e.tar.gz opencode-183e0911b76025a1f2a82e979d9834fec2131d0e.zip | |
wip: gateway
Diffstat (limited to 'cloud/core/drizzle.config.ts')
| -rw-r--r-- | cloud/core/drizzle.config.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cloud/core/drizzle.config.ts b/cloud/core/drizzle.config.ts new file mode 100644 index 000000000..c65363cb8 --- /dev/null +++ b/cloud/core/drizzle.config.ts @@ -0,0 +1,20 @@ +import { defineConfig } from "drizzle-kit" +import { Resource } from "sst" + +export default defineConfig({ + out: "./migrations/", + strict: true, + schema: ["./src/**/*.sql.ts"], + verbose: true, + dialect: "postgresql", + dbCredentials: { + database: Resource.Database.database, + host: Resource.Database.host, + user: Resource.Database.username, + password: Resource.Database.password, + port: Resource.Database.port, + ssl: { + rejectUnauthorized: false, + }, + }, +}) |
