Initial commit

This commit is contained in:
agent
2026-05-13 03:54:14 +00:00
commit 758e23e905
114 changed files with 13548 additions and 0 deletions

14
lib/db/drizzle.config.ts Normal file
View File

@@ -0,0 +1,14 @@
import { defineConfig } from "drizzle-kit";
import path from "path";
if (!process.env.DATABASE_URL) {
throw new Error("DATABASE_URL, ensure the database is provisioned");
}
export default defineConfig({
schema: path.join(__dirname, "./src/schema/index.ts"),
dialect: "postgresql",
dbCredentials: {
url: process.env.DATABASE_URL,
},
});