From e4014fb0ec74042f6d7d5310899e0c7d3a8b993d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Sat, 18 Jun 2011 23:10:09 +0000 Subject: [PATCH] Work on personalized fields feature --- .../install/mysql/migration/3.0.0-3.1.0.sql | 12 +++++++++ .../mysql/tables/llx_product_extrafields.sql | 24 ++++++++++++++++++ .../mysql/tables/llx_societe_extrafields.sql | 25 +++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100755 htdocs/install/mysql/tables/llx_product_extrafields.sql create mode 100755 htdocs/install/mysql/tables/llx_societe_extrafields.sql 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 88704e228d1..385f7d0b046 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 00000000000..1073abfed03 --- /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 00000000000..55c25077c6f --- /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; + -- GitLab