Hi team,
I don’t know if my problem is the same than for issue Layout refresh problem
I have a new layout refresh problem.
For my Discounts
collection, I modified the model
from
fees_scope: {
type: DataTypes.ENUM('FX_FEES', 'UPFRONT_FEES'),
allowNull: true,
},
discount_type: {
type: DataTypes.ENUM('P2W', 'P2P', 'P2B', 'BankFees'),
allowNull: true,
},
to
fees_scope: {
type: DataTypes.ENUM('FX_FEES', 'UPFRONT_FEES', 'FX+UP_FEES', 'NONE'),
allowNull: true,
},
discount_type: {
type: DataTypes.ENUM('P2W', 'P2P', 'P2B', 'BankFees', 'PARTNER_OFFER'),
allowNull: true,
},
As, you can see, only some Enum values have been added in two fields.
When restarting my server, the new enum values are well generated in .forestadmin-schema.json file:
--- a/.forestadmin-schema.json
+++ b/.forestadmin-schema.json
@@ -7631,7 +7631,8 @@
"P2W",
"P2P",
"P2B",
- "BankFees"
+ "BankFees",
+ "PARTNER_OFFER"
],
"integration": null,
"isFilterable": true,
@@ -7678,7 +7679,12 @@
"field": "fees_scope",
"type": "Enum",
"defaultValue": null,
- "enums": ["FX_FEES", "UPFRONT_FEES"],
+ "enums": [
+ "FX_FEES",
+ "UPFRONT_FEES",
+ "FX+UP_FEES",
+ "NONE"
+ ],
"integration": null,
"isFilterable": true,
"isPrimaryKey": false,
But the new values are not available in the Forest interface:
And, globally, I have more and more refresh problems with the columns showed and hidden (previous issue).
It is becoming more and more instable, and difficult to use.
Thanks in advance for your help.
Best
My setup
"database_type": "postgres",
"liana": "forest-express-sequelize",
"liana_version": "6.6.3",
"engine": "nodejs",
"engine_version": "12.13.1",
"orm_version": "5.22.3"