mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 01:36:30 +02:00
6 lines
220 B
TypeScript
6 lines
220 B
TypeScript
import { drizzle } from "drizzle-orm/postgres-js";
|
|
import postgres from "postgres";
|
|
import * as schema from "./schema";
|
|
|
|
const client = postgres(process.env.DATABASE_URL!);
|
|
export const db = drizzle({ client, schema });
|