diff --git a/mysql/migration/2.1.0-2.2.0.sql b/mysql/migration/2.1.0-2.2.0.sql index f6233571d36..663cbd539ac 100644 --- a/mysql/migration/2.1.0-2.2.0.sql +++ b/mysql/migration/2.1.0-2.2.0.sql @@ -26,6 +26,8 @@ alter table llx_bank_url modify `type` enum("?","company","payment","payment_sup insert into llx_rights_def (id, libelle, module, type, bydefault, subperms, perms) values (114,'Rapprocher transactions','banque','w',0,null,'consolidate'); update llx_rights_def set libelle='Créer/modifier/supprimer écriture bancaire' where perms='modifier' AND module='banque'; +-- Supprime colone en doublon avec fk_user_creat +alter table llx_paiement drop column author; update llx_actioncomm set fk_action = 9 where fk_action = 10; diff --git a/mysql/tables/llx_paiement.sql b/mysql/tables/llx_paiement.sql index b5227d635eb..3a483e5cad5 100644 --- a/mysql/tables/llx_paiement.sql +++ b/mysql/tables/llx_paiement.sql @@ -32,7 +32,6 @@ create table llx_paiement tms timestamp, datep datetime, -- payment date amount real DEFAULT 0, - author varchar(50), fk_paiement integer NOT NULL, num_paiement varchar(50), note text,