migration

This commit is contained in:
Théo LAGACHE
2025-05-16 15:54:17 +02:00
parent 01019fe1a3
commit 6f2523e524
285 changed files with 15492 additions and 46090 deletions
+13
View File
@@ -0,0 +1,13 @@
import "dotenv/config";
import { drizzle } from "drizzle-orm/node-postgres";
import dotenv from "dotenv";
import { env } from "@/env.mjs";
import * as schema from "./schema";
dotenv.config({
path: ".env",
});
export const db = drizzle(env.DATABASE_URL!, {
schema,
});