new(kb.gblib): added postgres.

This commit is contained in:
Rodrigo Rodriguez 2025-01-16 04:53:05 -03:00
parent c97a6ec0bf
commit 57b83aba2b

View file

@ -291,6 +291,9 @@ export class GBVMService extends GBService {
define: {
// Convert all table names to lowercase
freezeTableName: true,
tableName: function() {
return this.name.toLowerCase();
},
hooks: {
beforeDefine: (attributes, options) => {
// Convert model and column names to lowercase