mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-17 01:55:27 +10:00
made appdatasource export as named
This commit is contained in:
@@ -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",
|
||||
},
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user