diff --git a/htdocs/install/mysql/migration/3.0.0-3.1.0.sql b/htdocs/install/mysql/migration/3.0.0-3.1.0.sql
index 88704e228d131b1fd4b2facb823bb330820eade9..385f7d0b046128c5f61d2007f2feae3782f86a39 100755
--- a/htdocs/install/mysql/migration/3.0.0-3.1.0.sql
+++ b/htdocs/install/mysql/migration/3.0.0-3.1.0.sql
@@ -380,3 +380,15 @@ update llx_actioncomm set elementtype='contract' where elementtype='contrat';
 
 alter table llx_propal add column   tms             timestamp after fk_projet;
 
+
+create table llx_societe_extrafields
+(
+  rowid                     integer PRIMARY KEY
+) ENGINE=innodb;
+
+create table llx_product_extrafields
+(
+  rowid                     integer PRIMARY KEY
+) ENGINE=innodb;
+
+
diff --git a/htdocs/install/mysql/tables/llx_product_extrafields.sql b/htdocs/install/mysql/tables/llx_product_extrafields.sql
new file mode 100755
index 0000000000000000000000000000000000000000..1073abfed03c370ffe2b9ce9dbc68d8b5c126799
--- /dev/null
+++ b/htdocs/install/mysql/tables/llx_product_extrafields.sql
@@ -0,0 +1,24 @@
+-- ============================================================================
+-- Copyright (C) 2011 Laurent Destailleur  <eldy@users.sourceforge.net>
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+--
+-- $Id$
+-- ============================================================================
+
+create table llx_product_extrafields
+(
+  rowid						integer PRIMARY KEY
+) ENGINE=innodb;
diff --git a/htdocs/install/mysql/tables/llx_societe_extrafields.sql b/htdocs/install/mysql/tables/llx_societe_extrafields.sql
new file mode 100755
index 0000000000000000000000000000000000000000..55c25077c6f21ee7618794753dc4b232115da22c
--- /dev/null
+++ b/htdocs/install/mysql/tables/llx_societe_extrafields.sql
@@ -0,0 +1,25 @@
+-- ========================================================================
+-- Copyright (C) 2011 Laurent Destailleur  <eldy@users.sourceforge.net>
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+--
+-- $Id$
+-- ========================================================================
+
+create table llx_societe_extrafields
+(
+  rowid                     integer PRIMARY KEY
+) ENGINE=innodb;
+