diff --git a/mysql/migration/2.1.0-2.2.0.sql b/mysql/migration/2.1.0-2.2.0.sql index 3266247016a..e8ca0fb3ed1 100644 --- a/mysql/migration/2.1.0-2.2.0.sql +++ b/mysql/migration/2.1.0-2.2.0.sql @@ -8,6 +8,9 @@ -- sans AUCUNE erreur ni warning -- +-- Nettoyage champ ref table llx_bank_account +update llx_bank_account set ref=concat('ACCOUNT',rowid) where (ref='' or ref is null); + -- Sequence de requete pour nettoyage et correction champ type table llx_bank_url update llx_bank_url set type='company' where (type is null or type = '') and url like '%compta/fiche.php?socid=%'; alter table llx_bank_url modify `type` enum("","?","company","payment","payment_supplier","member","subscription","donation","sc","payment_sc");