recovered sql
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
6bb4f04bd1
commit
9f3f0224ab
|
@ -12,7 +12,8 @@ BEGIN
|
||||||
UPDATE Consignatarios SET predeterminada = FALSE
|
UPDATE Consignatarios SET predeterminada = FALSE
|
||||||
WHERE Id_cliente = NEW.Id_cliente;
|
WHERE Id_cliente = NEW.Id_cliente;
|
||||||
|
|
||||||
|
UPDATE Consignatarios SET predeterminada = TRUE
|
||||||
|
WHERE Id_consigna = NEW.default_address;
|
||||||
END IF;
|
END IF;
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
Loading…
Reference in New Issue