refactor(lst): refactor to monolithic completed
This commit is contained in:
7
server/database/index.ts
Normal file
7
server/database/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import {drizzle} from "drizzle-orm/postgres-js";
|
||||
import postgres from "postgres";
|
||||
import "../../load-env";
|
||||
|
||||
const queryClient = postgres("postgresql://postgres:nova0511@localhost:5432/lst_db");
|
||||
|
||||
export const db = drizzle(queryClient);
|
||||
Reference in New Issue
Block a user