Rml workorder/v2 need improvements

This commit is contained in:
Luca Haid
2025-08-05 07:05:33 +00:00
parent cccc00f434
commit 918ca3aafa
16 changed files with 1534 additions and 613 deletions
@@ -0,0 +1,14 @@
-- migration.sql
ALTER TABLE `RMLWorkorder` ADD `clusterId` INT NULL AFTER `companyId`;
CREATE TABLE `RMLWorkorderJournal` (
`id` int NOT NULL AUTO_INCREMENT,
`workorderId` int NOT NULL,
`text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`fileIds` json DEFAULT NULL,
`statusChange` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`create` int NOT NULL,
`createBy` int NOT NULL,
PRIMARY KEY (`id`),
KEY `workorderId` (`workorderId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;