From 47c6cff9c18a1fc15b4d90f620c76e1fc1158b0f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 15 Aug 2010 17:17:26 +0000 Subject: [PATCH] Fix: Correct bad old data --- htdocs/install/mysql/migration/2.8.0-2.9.0.sql | 4 ++++ 1 file changed, 4 insertions(+) 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 606bff4da45..4f8f7a62cf5 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 @@ -314,6 +314,10 @@ INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (23, ' delete from llx_const where name='USER_PASSWORD_GENERATED' and value='default'; + ALTER TABLE llx_boxes_def DROP INDEX uk_boxes_def; 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%'