From df5f4a5a428cbc3d7306fe747d8302c07fba0087 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 27 May 2024 14:05:31 +0200 Subject: [PATCH] feat: refs #7296 fixAPPWarehouse --- db/versions/11071-turquoiseMoss/00-firstScript.sql | 5 +++++ modules/route/back/model-config.json | 3 +++ modules/route/back/models/expedition-truck.json | 9 +++++++++ 3 files changed, 17 insertions(+) create mode 100644 db/versions/11071-turquoiseMoss/00-firstScript.sql create mode 100644 modules/route/back/models/expedition-truck.json diff --git a/db/versions/11071-turquoiseMoss/00-firstScript.sql b/db/versions/11071-turquoiseMoss/00-firstScript.sql new file mode 100644 index 000000000..f1de5987f --- /dev/null +++ b/db/versions/11071-turquoiseMoss/00-firstScript.sql @@ -0,0 +1,5 @@ +-- Auto-generated SQL script. Actual values for binary/complex data types may differ - what you see is the default string representation of values. +INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId) + VALUES ('RoadmapStop','*','*','ALLOW','ROLE','production'); +INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId) + VALUES ('RoadmapStop','*','*','ALLOW','ROLE','productionBoss'); diff --git a/modules/route/back/model-config.json b/modules/route/back/model-config.json index 09cda6b2d..0cb48852f 100644 --- a/modules/route/back/model-config.json +++ b/modules/route/back/model-config.json @@ -25,5 +25,8 @@ }, "RoutesMonitor": { "dataSource": "vn" + }, + "ExpeditionTruck": { + "dataSource": "vn" } } diff --git a/modules/route/back/models/expedition-truck.json b/modules/route/back/models/expedition-truck.json new file mode 100644 index 000000000..fc9cd90f0 --- /dev/null +++ b/modules/route/back/models/expedition-truck.json @@ -0,0 +1,9 @@ +{ + "name": "ExpeditionTruck", + "base": "RoadmapStop", + "options": { + "mysql": { + "table": "expeditionTruck" + } + } +} -- 2.40.1