refs #5056 added divisible in wagonType
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alexandre Riera 2023-03-15 11:57:09 +01:00
parent 53bca1e8a3
commit f706b66efc
8 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,7 @@
CREATE TABLE `vn`.`wagonType` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL UNIQUE,
`divisible` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;
@ -26,8 +27,7 @@ CREATE TABLE `vn`.`wagonConfig` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`width` int(11) unsigned DEFAULT 1350,
`height` int(11) unsigned DEFAULT 1900,
`trayStep` int(11) unsigned DEFAULT 50,
`minTrayHeight` int(11) unsigned DEFAULT 200,
`minTrayHeight` int(11) unsigned DEFAULT 50,
`maxTrays` int(11) unsigned DEFAULT 6,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;

View File

@ -2821,9 +2821,9 @@ INSERT INTO `vn`.`deviceProductionUser` (`deviceProductionFk`, `userFk`, `create
(1, 1, util.VN_NOW()),
(3, 3, util.VN_NOW());
INSERT INTO `vn`.`wagonConfig` (`id`, `width`, `height`, `trayStep`, `minTrayHeight`, `maxTrays`)
INSERT INTO `vn`.`wagonConfig` (`id`, `width`, `height`, `minTrayHeight`, `maxTrays`)
VALUES
(1, 1350, 1900, 50, 200, 6);
(1, 1350, 1900, 50, 6);
INSERT INTO `vn`.`wagonTypeColor` (`id`, `name`, `rgb`)

View File

@ -17,9 +17,6 @@
"height": {
"type": "string"
},
"trayStep": {
"type": "number"
},
"minTrayHeight": {
"type": "number"
},

View File

@ -13,6 +13,9 @@
},
"name": {
"type": "string"
},
"divisible": {
"type": "boolean"
}
}
}