new(kb.gblib): added postgres.

This commit is contained in:
Rodrigo Rodriguez 2025-01-16 04:53:05 -03:00
parent ab7caf37d2
commit fc8d4ccbf9

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