Hello
My problem follows the ticket below.
Feature(s) impacted
The connection of forest admin to the database of our server
Observed behavior
So we have in forest admin 2 databases that have the same table name for example
NV Refund Request and NP Refund Request
For the refund request table in the NV database we have this schema
sequelize.define(‘NvRefundRequest’, {
// … (attributes)
}, {
tableName: ‘refundRequest’
});
and for the one in the NP database we have this schema the
sequelize.define(‘refundRequest’, {
// … (attributes)
}, {
tableName: ‘refundRequest’
});
For NV Refund Request on forest we get this
And for NP Refund Request on forest we display well the data
And it’s strange because for the NV contracts table we have the data and also for the NP contracts table
I did look to see if it was our models that were different from our tables but everything is fine for the NV refund request table
Expected behavior
Normally we should display the data of the NV refund request table without any problem but we have error logs concerning this table
Failure Logs
[forest] Unexpected error: permission denied for table refundRequests
FOREST_ADMIN_GATEWAY.1.x2obdd3u2x32@IAS-DEV-APNS-01
We also have the NV Refund table which has the same problem.
Context
- Project name: Nostrum Care v2
- Team name: Operations
- Environment name: Develop
- Agent type & version:" forest-express-sequelize": “^8.0.0”
Thank you in advance .