From 1b6a92dcb2b0776b3bb5552a6f6eb57d48f9083d Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 22 Apr 2005 14:19:37 +0000 Subject: [PATCH] alter table llx_facture add rang integer DEFAULT 0 NOT NULL; --- mysql/migration/1.1.0-2.0.0.sql | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mysql/migration/1.1.0-2.0.0.sql b/mysql/migration/1.1.0-2.0.0.sql index 8414b39a854..28b1b7923aa 100644 --- a/mysql/migration/1.1.0-2.0.0.sql +++ b/mysql/migration/1.1.0-2.0.0.sql @@ -49,11 +49,11 @@ create table llx_societe_commerciaux UNIQUE INDEX(fk_soc, fk_user) )type=innodb; - + alter table llx_action_def add code varchar(24) NOT NULL after rowid; -update llx_action_def set code='NOTIFY_VAL_FICHINTER' where titre='Validation fiche intervention'; -update llx_action_def set code='NOTIFY_VAL_FAC' where titre='Validation facture'; - +update llx_action_def set code='NOTIFY_VAL_FICHINTER' where titre='Validation fiche intervention'; +update llx_action_def set code='NOTIFY_VAL_FAC' where titre='Validation facture'; + delete from llx_const where name like '%_OUTPUT_URL'; delete from llx_const where name like 'MAIN_START_YEAR'; @@ -68,6 +68,8 @@ alter table llx_user_rights add rowid integer AUTO_INCREMENT PRIMARY KEY; alter table llx_facture add fk_cond_reglement integer DEFAULT 1 NOT NULL; alter table llx_facture add fk_mode_reglement integer after fk_cond_reglement ; +alter table llx_facture add rang integer DEFAULT 0 NOT NULL; + alter table llx_cond_reglement add code varchar(16) after rowid; alter table llx_socpeople add cp varchar(25) after address;