Update src/app.service.ts

This commit is contained in:
Codevice Solution Pvt Ltd 2025-08-14 07:53:18 +00:00
parent 26465e1a46
commit f5290a59c3

View File

@ -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",