mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 00:51:20 +00:00
Replace raw pg Pool with Drizzle ORM backed by Bun.sql. Add per-user source configuration table (user_sources). Migrate Better Auth to drizzle-adapter. Add AES-256-GCM credential encryption. Co-authored-by: Ona <no-reply@ona.com>
11 lines
207 B
TypeScript
11 lines
207 B
TypeScript
import { defineConfig } from "drizzle-kit"
|
|
|
|
export default defineConfig({
|
|
out: "./drizzle",
|
|
schema: "./src/db/schema.ts",
|
|
dialect: "postgresql",
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL!,
|
|
},
|
|
})
|