feat: refs #7622 Added type column addressWaste
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
aafe764d9d
commit
1799b52f8b
|
@ -6,7 +6,8 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`item_setVisibleDisc
|
||||||
vAddressFk INT)
|
vAddressFk INT)
|
||||||
BEGIN
|
BEGIN
|
||||||
/**
|
/**
|
||||||
* Procedimiento para dar dar de baja/alta un item, si vAddressFk es NULL se entiende que se da de alta y se toma el addressFk de la configuración
|
* Procedimiento para dar dar de baja/alta un item, si vAdressFk es NULL
|
||||||
|
* se entiende que se da de alta y se toma el addressFk de la configuración
|
||||||
*
|
*
|
||||||
* @param vItemFk Identificador del ítem
|
* @param vItemFk Identificador del ítem
|
||||||
* @param vWarehouseFk id del warehouse
|
* @param vWarehouseFk id del warehouse
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
RENAME TABLE vn.addressShortage TO vn.addressWaste;
|
||||||
|
ALTER TABLE vn.addressWaste ADD `type` ENUM('internal', 'external') NOT NULL;
|
||||||
|
INSERT INTO IGNORE vn.addressWaste (addressFk,`type`) VALUES
|
||||||
|
(2230,'external'),
|
||||||
|
(5986,'external'),
|
||||||
|
(7475,'external');
|
|
@ -1,15 +1,19 @@
|
||||||
{
|
{
|
||||||
"name": "AddressShortage",
|
"name": "AddressWaste",
|
||||||
"base": "VnModel",
|
"base": "VnModel",
|
||||||
"options": {
|
"options": {
|
||||||
"mysql": {
|
"mysql": {
|
||||||
"table": "addressShortage"
|
"table": "addressWaste"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"addressFk": {
|
"addressFk": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"id": true
|
"id": true
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"id": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
Loading…
Reference in New Issue