Update src/app.service.ts
This commit is contained in:
parent
26465e1a46
commit
f5290a59c3
@ -23,7 +23,9 @@ export class AppService {
|
|||||||
const dbConfig = this.configService.getDbConfig();
|
const dbConfig = this.configService.getDbConfig();
|
||||||
if (this.modelFilePaths.length > 0) {
|
if (this.modelFilePaths.length > 0) {
|
||||||
this.commonService.sequelize = new Sequelize({
|
this.commonService.sequelize = new Sequelize({
|
||||||
database: "192.168.0.113",
|
database: "ticket_booking_db",
|
||||||
|
host: "192.168.0.113", // <-- IP or hostname of your DB
|
||||||
|
port: 5431,
|
||||||
dialect: 'postgres',
|
dialect: 'postgres',
|
||||||
username: "postgres",
|
username: "postgres",
|
||||||
password: "FAdDoCwhmi3BvkK4pgEGDc7EspmDtHYV4y93748Xz6VysJKPdlsaU3L9N9k7OD9t",
|
password: "FAdDoCwhmi3BvkK4pgEGDc7EspmDtHYV4y93748Xz6VysJKPdlsaU3L9N9k7OD9t",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user