forked from PluralFlux/PluralFlux
i forgot to git add data-source.ts 🤦
This commit is contained in:
@@ -7,7 +7,7 @@ env.config();
|
|||||||
|
|
||||||
export const AppDataSource = new DataSource({
|
export const AppDataSource = new DataSource({
|
||||||
type: "postgres",
|
type: "postgres",
|
||||||
host: "localhost",
|
host: process.env.POSTGRES_ENDPOINT,
|
||||||
port: 5432,
|
port: 5432,
|
||||||
username: "postgres",
|
username: "postgres",
|
||||||
password: process.env.POSTGRES_PASSWORD,
|
password: process.env.POSTGRES_PASSWORD,
|
||||||
@@ -23,4 +23,4 @@ export const AppDataSource = new DataSource({
|
|||||||
null: "sql-null",
|
null: "sql-null",
|
||||||
undefined: "throw",
|
undefined: "throw",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user