refs #5056 added divisible in wagonType
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
53bca1e8a3
commit
f706b66efc
|
@ -1,6 +1,7 @@
|
||||||
CREATE TABLE `vn`.`wagonType` (
|
CREATE TABLE `vn`.`wagonType` (
|
||||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`name` varchar(30) NOT NULL UNIQUE,
|
`name` varchar(30) NOT NULL UNIQUE,
|
||||||
|
`divisible` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3;
|
||||||
|
|
||||||
|
@ -26,8 +27,7 @@ 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,
|
||||||
`trayStep` int(11) unsigned DEFAULT 50,
|
`minTrayHeight` int(11) unsigned DEFAULT 50,
|
||||||
`minTrayHeight` int(11) unsigned DEFAULT 200,
|
|
||||||
`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,9 @@ 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`, `trayStep`, `minTrayHeight`, `maxTrays`)
|
INSERT INTO `vn`.`wagonConfig` (`id`, `width`, `height`, `minTrayHeight`, `maxTrays`)
|
||||||
VALUES
|
VALUES
|
||||||
(1, 1350, 1900, 50, 200, 6);
|
(1, 1350, 1900, 50, 6);
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO `vn`.`wagonTypeColor` (`id`, `name`, `rgb`)
|
INSERT INTO `vn`.`wagonTypeColor` (`id`, `name`, `rgb`)
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
"height": {
|
"height": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"trayStep": {
|
|
||||||
"type": "number"
|
|
||||||
},
|
|
||||||
"minTrayHeight": {
|
"minTrayHeight": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
|
@ -13,6 +13,9 @@
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"divisible": {
|
||||||
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue