From b4f3e9d5a85ac46958238c39b6c1a65271e3401e Mon Sep 17 00:00:00 2001
From: fhenry <florian.henry@open-concept.pro>
Date: Fri, 26 Apr 2013 10:34:11 +0200
Subject: [PATCH] fix table name in migration script

---
 htdocs/install/mysql/migration/3.3.0-3.4.0.sql | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql
index 5023a253f14..8dbbad43832 100755
--- a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql
+++ b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql
@@ -350,7 +350,7 @@ ALTER TABLE llx_opensurvey_user_studs ADD INDEX idx_id_sondage (id_sondage);
 
 ALTER TABLE llx_boxes ADD COLUMN params varchar(255);
 
-UPDATE llx_extrafield SET elementtype='socpeople' WHERE elementtype='contact';
-UPDATE llx_extrafield SET elementtype='actioncomm' WHERE elementtype='action';
-UPDATE llx_extrafield SET elementtype='adherent' WHERE elementtype='member';
-UPDATE llx_extrafield SET elementtype='societe' WHERE elementtype='company';
+UPDATE llx_extrafields SET elementtype='socpeople' WHERE elementtype='contact';
+UPDATE llx_extrafields SET elementtype='actioncomm' WHERE elementtype='action';
+UPDATE llx_extrafields SET elementtype='adherent' WHERE elementtype='member';
+UPDATE llx_extrafields SET elementtype='societe' WHERE elementtype='company';
-- 
GitLab