Update src/app.service.ts
This commit is contained in:
parent
3185762359
commit
26465e1a46
@ -23,10 +23,10 @@ export class AppService {
|
||||
const dbConfig = this.configService.getDbConfig();
|
||||
if (this.modelFilePaths.length > 0) {
|
||||
this.commonService.sequelize = new Sequelize({
|
||||
database: dbConfig.database,
|
||||
database: "192.168.0.113",
|
||||
dialect: 'postgres',
|
||||
username: dbConfig.user,
|
||||
password: dbConfig.password,
|
||||
username: "postgres",
|
||||
password: "FAdDoCwhmi3BvkK4pgEGDc7EspmDtHYV4y93748Xz6VysJKPdlsaU3L9N9k7OD9t",
|
||||
models: this.modelFilePaths,
|
||||
modelMatch: (filename, member) => {
|
||||
return filename.substring(0, filename.indexOf('.entity')) === member.toLowerCase();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user