From 1ddbaac4a49cf60a95b637bed19b8e54a0d69951 Mon Sep 17 00:00:00 2001 From: Aster Fialla Date: Sun, 1 Mar 2026 16:24:26 -0500 Subject: [PATCH] made appdatasource export as named --- database/data-source.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/data-source.ts b/database/data-source.ts index 6c00a9c..6e49403 100644 --- a/database/data-source.ts +++ b/database/data-source.ts @@ -5,7 +5,7 @@ import * as path from "path"; env.config(); -export default new DataSource({ +export const AppDataSource = new DataSource({ type: "postgres", host: "localhost", port: 5432, @@ -24,4 +24,4 @@ export default new DataSource({ null: "sql-null", undefined: "throw", }, -}) +}); \ No newline at end of file