2
0
forked from Wavyzz/dolibarr

Fix: uniformize fields name with standard extrafields

This commit is contained in:
Regis Houssin
2011-08-08 16:13:28 +00:00
parent f09038fd08
commit f291233aa5
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
-- --
-- $Id: 3.0.0-3.1.0.sql,v 1.86 2011/08/08 16:07:33 hregis Exp $ -- $Id: 3.0.0-3.1.0.sql,v 1.87 2011/08/08 16:13:28 hregis Exp $
-- --
-- Be carefull to requests order. -- Be carefull to requests order.
-- This file must be loaded by calling /install/index.php page -- This file must be loaded by calling /install/index.php page
@@ -486,3 +486,5 @@ ALTER TABLE llx_user ADD civilite varchar(6) after entity;
ALTER TABLE llx_advanced_extrafields_options DROP COLUMN tms; ALTER TABLE llx_advanced_extrafields_options DROP COLUMN tms;
ALTER TABLE llx_advanced_extrafields_options CHANGE COLUMN rang pos integer; ALTER TABLE llx_advanced_extrafields_options CHANGE COLUMN rang pos integer;
ALTER TABLE llx_advanced_extrafields CHANGE COLUMN rang pos integer; ALTER TABLE llx_advanced_extrafields CHANGE COLUMN rang pos integer;
ALTER TABLE llx_advanced_extrafields CHANGE COLUMN format type varchar(8) NOT NULL;
ALTER TABLE llx_advanced_extrafields CHANGE COLUMN fieldsize size integer;

View File

@@ -14,7 +14,7 @@
-- You should have received a copy of the GNU General Public License -- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>. -- along with this program. If not, see <http://www.gnu.org/licenses/>.
-- --
-- $Id: llx_advanced_extrafields.sql,v 1.3 2011/08/08 16:07:33 hregis Exp $ -- $Id: llx_advanced_extrafields.sql,v 1.4 2011/08/08 16:13:29 hregis Exp $
-- =================================================================== -- ===================================================================
create table llx_advanced_extrafields create table llx_advanced_extrafields
@@ -27,7 +27,7 @@ create table llx_advanced_extrafields
name varchar(64) NOT NULL, -- code name of field name varchar(64) NOT NULL, -- code name of field
label varchar(64) NOT NULL, label varchar(64) NOT NULL,
type varchar(8) NOT NULL, -- date, string, integer, float type varchar(8) NOT NULL, -- date, string, integer, float
fieldsize integer, size integer,
maxlength integer, maxlength integer,
options varchar(255), options varchar(255),