Fix: Bad old data

This commit is contained in:
Laurent Destailleur 2010-08-15 22:18:48 +00:00
parent 7a0ef5c815
commit 672f6a1641
2 changed files with 2 additions and 2 deletions

View File

@ -320,4 +320,4 @@ ALTER TABLE llx_boxes_def MODIFY note varchar(255);
ALTER TABLE llx_boxes_def ADD UNIQUE INDEX uk_boxes_def (file, entity, note);
-- Fix bad old data
UPDATE llx_bank_url SET type='payment' WHERE type='?' AND label='(payment)' AND url LIKE '%compta/paiement/fiche.php%'
UPDATE llx_bank_url SET type='payment' WHERE type='?' AND label='(payment)' AND url LIKE '%compta/paiement/fiche.php%';

View File

@ -11,7 +11,7 @@
--
-- Fix bad old data
UPDATE llx_bank_url SET type='payment' WHERE type='?' AND label='(payment)' AND url LIKE '%compta/paiement/fiche.php%'
UPDATE llx_bank_url SET type='payment' WHERE type='?' AND label='(payment)' AND url LIKE '%compta/paiement/fiche.php%';
-- Add recuperableonly field
alter table llx_product add column recuperableonly integer NOT NULL DEFAULT '0' after tva_tx;