Update src/app.service.ts

This commit is contained in:
Codevice Solution Pvt Ltd 2025-08-14 08:03:00 +00:00
parent b9f3210bc4
commit 1b7e5569bc

View File

@ -29,6 +29,8 @@ export class AppService {
dialect: 'postgres',
username: "postgres",
password: "FAdDoCwhmi3BvkK4pgEGDc7EspmDtHYV4y93748Xz6VysJKPdlsaU3L9N9k7OD9t",
autoLoadModels: true, // Auto-load model files
synchronize: true,
models: this.modelFilePaths,
modelMatch: (filename, member) => {
return filename.substring(0, filename.indexOf('.entity')) === member.toLowerCase();