This commit is contained in:
parent
ac3e9c811d
commit
4048627c76
|
@ -288,12 +288,12 @@ BEGIN
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
||||||
ALTER TABLE vn.itemShelvingSale DROP COLUMN IF EXISTS isPicked;
|
ALTER TABLE `vn`.`itemShelvingSale` DROP COLUMN IF EXISTS isPicked;
|
||||||
|
|
||||||
ALTER TABLE vn.itemShelvingSale
|
ALTER TABLE`vn`.`itemShelvingSale`
|
||||||
ADD isPicked TINYINT(1) DEFAULT FALSE NOT NULL;
|
ADD isPicked TINYINT(1) DEFAULT FALSE NOT NULL;
|
||||||
|
|
||||||
ALTER TABLE vn.productionConfig DROP COLUMN IF EXISTS orderMode;
|
ALTER TABLE `vn`.`productionConfig` DROP COLUMN IF EXISTS orderMode;
|
||||||
|
|
||||||
ALTER TABLE vn.productionConfig
|
ALTER TABLE `vn`.`productionConfig`
|
||||||
ADD orderMode ENUM('Location', 'Age') NOT NULL DEFAULT 'Location';
|
ADD orderMode ENUM('Location', 'Age') NOT NULL DEFAULT 'Location';
|
|
@ -5,8 +5,9 @@ module.exports = Self => {
|
||||||
accepts: [
|
accepts: [
|
||||||
{
|
{
|
||||||
arg: 'id',
|
arg: 'id',
|
||||||
type: 'Number',
|
type: 'number',
|
||||||
description: 'The collection id',
|
description: 'The collection id',
|
||||||
|
required: true,
|
||||||
http: {source: 'path'}
|
http: {source: 'path'}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -5,17 +5,20 @@ module.exports = Self => {
|
||||||
accepts: [
|
accepts: [
|
||||||
{
|
{
|
||||||
arg: 'id',
|
arg: 'id',
|
||||||
type: 'Number',
|
type: 'number',
|
||||||
|
required: true,
|
||||||
description: 'The sale id',
|
description: 'The sale id',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
arg: 'quantity',
|
arg: 'quantity',
|
||||||
type: 'Number',
|
type: 'number',
|
||||||
|
required: true,
|
||||||
description: 'The quantity to set',
|
description: 'The quantity to set',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
arg: 'isItemShelvingSaleEmpty',
|
arg: 'isItemShelvingSaleEmpty',
|
||||||
type: 'Boolean',
|
type: 'boolean',
|
||||||
|
required: true,
|
||||||
description: 'True if the shelvingFk is empty ',
|
description: 'True if the shelvingFk is empty ',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue