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