From 672f6a16414f270373ecfda273881daf7751665f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 15 Aug 2010 22:18:48 +0000 Subject: [PATCH] Fix: Bad old data --- htdocs/install/mysql/migration/2.8.0-2.9.0.sql | 2 +- htdocs/install/mysql/migration/2.9.0-3.0.0.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql index b30839b7ad3..857457fcc9c 100755 --- a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql +++ b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql @@ -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%'; diff --git a/htdocs/install/mysql/migration/2.9.0-3.0.0.sql b/htdocs/install/mysql/migration/2.9.0-3.0.0.sql index d8ecb017355..1eaa4514129 100644 --- a/htdocs/install/mysql/migration/2.9.0-3.0.0.sql +++ b/htdocs/install/mysql/migration/2.9.0-3.0.0.sql @@ -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;