new(kb.gblib): added postgres.

This commit is contained in:
Rodrigo Rodriguez 2025-01-16 05:29:53 -03:00
parent 632010310b
commit 4298303ea4

View file

@ -289,6 +289,14 @@ export class GBVMService extends GBService {
acquire: acquire
},
define: {
// Disable timestamps globally
timestamps: false,
// Prevent createdAt/updatedAt from being selected
defaultScope: {
attributes: {
exclude: ['createdAt', 'updatedAt']
}
},
// Convert all table names to lowercase
freezeTableName: true,
hooks: {