diff --git a/mysql/migration/1.1.0-2.0.0.sql b/mysql/migration/1.1.0-2.0.0.sql index 28b1b7923aa..d70d296bf9a 100644 --- a/mysql/migration/1.1.0-2.0.0.sql +++ b/mysql/migration/1.1.0-2.0.0.sql @@ -68,8 +68,6 @@ 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; @@ -79,6 +77,8 @@ alter table llx_paiement add statut smallint DEFAULT 0 NOT NULL ; alter table llx_facturedet add fk_export_compta integer DEFAULT 0 NOT NULL ; alter table llx_paiement add fk_export_compta integer DEFAULT 0 NOT NULL ; +alter table llx_facturedet add rang integer DEFAULT 0 NOT NULL; + alter table llx_rights_def add perms varchar(255) after module; alter table llx_rights_def add subperms varchar(255) after perms; UPDATE llx_rights_def set perms=NULL, subperms=NULL where id="10";