refs #5890 fix: format
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Sergio De la torre 2023-09-28 08:08:40 +02:00
parent ac3e9c811d
commit 4048627c76
3 changed files with 12 additions and 8 deletions

View File

@ -288,12 +288,12 @@ BEGIN
END$$
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;
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';

View File

@ -5,8 +5,9 @@ module.exports = Self => {
accepts: [
{
arg: 'id',
type: 'Number',
type: 'number',
description: 'The collection id',
required: true,
http: {source: 'path'}
}
],

View File

@ -5,17 +5,20 @@ module.exports = Self => {
accepts: [
{
arg: 'id',
type: 'Number',
type: 'number',
required: true,
description: 'The sale id',
},
{
arg: 'quantity',
type: 'Number',
type: 'number',
required: true,
description: 'The quantity to set',
},
{
arg: 'isItemShelvingSaleEmpty',
type: 'Boolean',
type: 'boolean',
required: true,
description: 'True if the shelvingFk is empty ',
}
],