This commit is contained in:
parent
db2919b482
commit
579f2abe5b
|
@ -8,10 +8,10 @@ BEGIN
|
||||||
END;
|
END;
|
||||||
|
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
UPDATE vn.client c
|
UPDATE vn.`client` c
|
||||||
JOIN vn.payMethod pm ON pm.id = c.payMethodFk
|
JOIN vn.payMethod pm ON pm.id = c.payMethodFk
|
||||||
SET credit = 0
|
SET credit = 0
|
||||||
WHERE pm.code = 'card';
|
WHERE pm.`code` = 'card';
|
||||||
|
|
||||||
DROP TEMPORARY TABLE IF EXISTS clientes_credit;
|
DROP TEMPORARY TABLE IF EXISTS clientes_credit;
|
||||||
CREATE TEMPORARY TABLE clientes_credit
|
CREATE TEMPORARY TABLE clientes_credit
|
||||||
|
|
Loading…
Reference in New Issue