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