new(kb.gblib): added postgres.
This commit is contained in:
parent
c97a6ec0bf
commit
57b83aba2b
1 changed files with 3 additions and 0 deletions
|
@ -291,6 +291,9 @@ export class GBVMService extends GBService {
|
||||||
define: {
|
define: {
|
||||||
// Convert all table names to lowercase
|
// Convert all table names to lowercase
|
||||||
freezeTableName: true,
|
freezeTableName: true,
|
||||||
|
tableName: function() {
|
||||||
|
return this.name.toLowerCase();
|
||||||
|
},
|
||||||
hooks: {
|
hooks: {
|
||||||
beforeDefine: (attributes, options) => {
|
beforeDefine: (attributes, options) => {
|
||||||
// Convert model and column names to lowercase
|
// Convert model and column names to lowercase
|
||||||
|
|
Loading…
Add table
Reference in a new issue