Setup drizzle

This commit is contained in:
Zoe Roux
2024-10-24 21:34:10 +02:00
parent ad8673a46f
commit 7eaf1e1729
3 changed files with 14 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
import { drizzle } from "drizzle-orm/node-postgres";
const db = drizzle({
connection: {
connectionString: process.env.DATABASE_URL!,
ssl: true,
},
casing: "snake_case",
});