From 183e0911b76025a1f2a82e979d9834fec2131d0e Mon Sep 17 00:00:00 2001 From: Frank Date: Fri, 8 Aug 2025 13:22:54 -0400 Subject: wip: gateway --- cloud/core/drizzle.config.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cloud/core/drizzle.config.ts (limited to 'cloud/core/drizzle.config.ts') 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, + }, + }, +}) -- cgit v1.2.3