From 49e8902fb60233ed725b58f04afa19f898d91d70 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 7 Jul 2005 23:06:50 +0000 Subject: [PATCH] On nomme les champs de l'insert. On en positionne pas de valeur par defaut. --- mysql/data/data.sql | 8 ++++---- mysql/migration/1.1.0-2.0.0.sql | 9 +++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/mysql/data/data.sql b/mysql/data/data.sql index 0e914841449..e76a6f3d546 100644 --- a/mysql/data/data.sql +++ b/mysql/data/data.sql @@ -145,10 +145,10 @@ insert into llx_const (name, value, type, visible) values ('FACTURE_ADDON_PDF', -- -- Forcer les locales -- -INSERT INTO `llx_const` VALUES ('', 'MAIN_FORCE_SETLOCALE_LC_ALL', 'MAIN_FORCE_SETLOCALE_LC_ALL', 'chaine', 1, ''); -INSERT INTO `llx_const` VALUES ('', 'MAIN_FORCE_SETLOCALE_LC_TIME', 'MAIN_FORCE_SETLOCALE_LC_TIME', 'chaine', 1, ''); -INSERT INTO `llx_const` VALUES ('', 'MAIN_FORCE_SETLOCALE_LC_MONETARY', 'MAIN_FORCE_SETLOCALE_LC_MONETARY', 'chaine', 1, ''); -INSERT INTO `llx_const` VALUES ('', 'MAIN_FORCE_SETLOCALE_LC_NUMERIC', 'MAIN_FORCE_SETLOCALE_LC_NUMERIC', 'chaine', 1, 'mettre la valeur C si problème de centimes'); +insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SETLOCALE_LC_ALL', '', 'chaine', 1, 'Pour forcer LC_ALL si pb de locale'); +insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SETLOCALE_LC_TIME', '', 'chaine', 1, 'Pour forcer LC_TIME si pb de locale'); +insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SETLOCALE_LC_MONETARY', '', 'chaine', 1, 'Pour forcer LC_MONETARY si pb de locale'); +insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SETLOCALE_LC_NUMERIC', '', 'chaine', 1, 'Mettre la valeur C si problème de centimes'); -- Dictionnaires llx_c diff --git a/mysql/migration/1.1.0-2.0.0.sql b/mysql/migration/1.1.0-2.0.0.sql index 408301da71e..9d59fc02e7f 100644 --- a/mysql/migration/1.1.0-2.0.0.sql +++ b/mysql/migration/1.1.0-2.0.0.sql @@ -1540,7 +1540,8 @@ create table llx_dolibarr_modules )type=innodb; -insert into `llx_const` values ('', 'MAIN_FORCE_SETLOCALE_LC_ALL', 'MAIN_FORCE_SETLOCALE_LC_ALL', 'chaine', 1, ''); -insert into `llx_const` values ('', 'MAIN_FORCE_SETLOCALE_LC_TIME', 'MAIN_FORCE_SETLOCALE_LC_TIME', 'chaine', 1, ''); -insert into `llx_const` values ('', 'MAIN_FORCE_SETLOCALE_LC_MONETARY', 'MAIN_FORCE_SETLOCALE_LC_MONETARY', 'chaine', 1, ''); -insert into `llx_const` values ('', 'MAIN_FORCE_SETLOCALE_LC_NUMERIC', 'MAIN_FORCE_SETLOCALE_LC_NUMERIC', 'chaine', 1, 'mettre la valeur C si problème de centimes'); + +insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SETLOCALE_LC_ALL', '', 'chaine', 1, 'Pour forcer LC_ALL si pb de locale'); +insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SETLOCALE_LC_TIME', '', 'chaine', 1, 'Pour forcer LC_TIME si pb de locale'); +insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SETLOCALE_LC_MONETARY', '', 'chaine', 1, 'Pour forcer LC_MONETARY si pb de locale'); +insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SETLOCALE_LC_NUMERIC', '', 'chaine', 1, 'Mettre la valeur C si problème de centimes');