feat: refs #7377 Minor change
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-06-21 09:14:13 +02:00
parent ae999f780e
commit 16ba74dffc
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ BEGIN
FROM tInventory; FROM tInventory;
-- Eliminamos artículos que no estén en el inventario sin compra o venta -- Eliminamos artículos que no estén en el inventario sin compra o venta
DELETE i.id FROM item i DELETE i.* FROM item i
LEFT JOIN tInventory ti ON ti.itemFk = i.id LEFT JOIN tInventory ti ON ti.itemFk = i.id
LEFT JOIN sale s ON s.itemFk = i.id LEFT JOIN sale s ON s.itemFk = i.id
LEFT JOIN buy b ON b.itemFk = i.id LEFT JOIN buy b ON b.itemFk = i.id