This commit is contained in:
parent
f706b66efc
commit
6609cce065
|
@ -27,7 +27,8 @@ CREATE TABLE `vn`.`wagonConfig` (
|
||||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`width` int(11) unsigned DEFAULT 1350,
|
`width` int(11) unsigned DEFAULT 1350,
|
||||||
`height` int(11) unsigned DEFAULT 1900,
|
`height` int(11) unsigned DEFAULT 1900,
|
||||||
`minTrayHeight` int(11) unsigned DEFAULT 50,
|
`maxWagonHeight` int(11) unsigned DEFAULT 200,
|
||||||
|
`minHeightBetweenTrays` int(11) unsigned DEFAULT 50,
|
||||||
`maxTrays` int(11) unsigned DEFAULT 6,
|
`maxTrays` int(11) unsigned DEFAULT 6,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;
|
||||||
|
|
|
@ -2821,9 +2821,10 @@ INSERT INTO `vn`.`deviceProductionUser` (`deviceProductionFk`, `userFk`, `create
|
||||||
(1, 1, util.VN_NOW()),
|
(1, 1, util.VN_NOW()),
|
||||||
(3, 3, util.VN_NOW());
|
(3, 3, util.VN_NOW());
|
||||||
|
|
||||||
INSERT INTO `vn`.`wagonConfig` (`id`, `width`, `height`, `minTrayHeight`, `maxTrays`)
|
INSERT INTO `vn`.`wagonConfig` (`id`, `width`, `height`, `maxWagonHeight`, `minHeightBetweenTrays`, `maxTrays`)
|
||||||
VALUES
|
VALUES
|
||||||
(1, 1350, 1900, 50, 6);
|
(1, 1350, 1900, 200, 50, 6);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO `vn`.`wagonTypeColor` (`id`, `name`, `rgb`)
|
INSERT INTO `vn`.`wagonTypeColor` (`id`, `name`, `rgb`)
|
||||||
|
|
|
@ -17,7 +17,10 @@
|
||||||
"height": {
|
"height": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"minTrayHeight": {
|
"maxWagonHeight": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"minHeightBetweenTrays": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"maxTrays": {
|
"maxTrays": {
|
||||||
|
|
Loading…
Reference in New Issue