This commit is contained in:
Cat /dev/Nulo 2024-10-15 09:10:53 -03:00
parent 051b2524ab
commit b46b087bc6

View file

@ -4,7 +4,7 @@ import * as schema from "../db/schema";
import { formatISO, subDays } from "date-fns"; import { formatISO, subDays } from "date-fns";
import { sql } from "drizzle-orm"; import { sql } from "drizzle-orm";
const db = drizzle(postgres(process.env.DATABASE_URL!), { const db = drizzle(postgres(), {
schema, schema,
logger: true, logger: true,
}); });