made appdatasource export as named

This commit is contained in:
Aster Fialla
2026-03-01 16:24:26 -05:00
parent 8fc979b8fd
commit 1ddbaac4a4

View File

@@ -5,7 +5,7 @@ import * as path from "path";
env.config(); env.config();
export default new DataSource({ export const AppDataSource = new DataSource({
type: "postgres", type: "postgres",
host: "localhost", host: "localhost",
port: 5432, port: 5432,
@@ -24,4 +24,4 @@ export default new DataSource({
null: "sql-null", null: "sql-null",
undefined: "throw", undefined: "throw",
}, },
}) });