SET FOREIGN_KEY_CHECKS=0;

ALTER DATABASE `bddevfac` CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;

ALTER TABLE `bddevfac`.`articles` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`chantier_update` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`clients` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`dem_devis` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`dem_lig` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`dem_rdf` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`devis` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`devis_lig` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`dossier_attaches` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`email_rappels` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`facture` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`facture_lig` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`facture_reg` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`lettre` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`liv_bnq` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_agenda` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_cabinet` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_chantier` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_codespostaux` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_editcrys` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_experts` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_famille` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_groupe` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_journaux` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_modereg` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_ouvrier` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_printers` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_qualite` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_sfam` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_societe` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_tarifs` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_texts` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_tva` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_type` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_types_rdv` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`p_users` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`proforma` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`proforma_lig` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`rdf_causes` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`t_analyse_devis` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`t_debug` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`t_ecritures` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`t_lettre` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`t_log_nuit` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bddevfac`.`t_relance` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

ALTER TABLE `bddevfac`.`articles` CHANGE `FAM` `FAM` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `LIBART` `LIBART` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `LIBCOMPL1` `LIBCOMPL1` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `LIBCOMPL2` `LIBCOMPL2` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `LIBCOMPL3` `LIBCOMPL3` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `LIBCOMPL4` `LIBCOMPL4` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `REF` `REF` char(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli1` `ref_cli1` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli10` `ref_cli10` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli2` `ref_cli2` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli3` `ref_cli3` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli4` `ref_cli4` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli5` `ref_cli5` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli6` `ref_cli6` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli7` `ref_cli7` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli8` `ref_cli8` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `ref_cli9` `ref_cli9` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`articles` CHANGE `UNITE` `UNITE` char(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`chantier_update` CHANGE `c_code` `c_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`chantier_update` CHANGE `c_email` `c_email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`chantier_update` CHANGE `c_etage` `c_etage` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`chantier_update` CHANGE `c_fax` `c_fax` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`chantier_update` CHANGE `c_tel1` `c_tel1` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`chantier_update` CHANGE `c_tel2` `c_tel2` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`chantier_update` CHANGE `c_telp` `c_telp` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`chantier_update` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `ADRESSE` `ADRESSE` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `ADRESSE2` `ADRESSE2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `AGREMENT` `AGREMENT` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `CODE` `CODE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `COMMENT` `COMMENT` varchar(140) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `CP` `CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `EMAIL` `EMAIL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `ETAGE` `ETAGE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `FAX` `FAX` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `groupe` `groupe` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `NOM` `NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `NOMRESP` `NOMRESP` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `QUALITE` `QUALITE` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `RELANCE` `RELANCE` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `TEL1` `TEL1` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `TEL2` `TEL2` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `TELP` `TELP` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `TYPE` `TYPE` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `VILLE` `VILLE` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`clients` CHANGE `website` `website` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_ADR` `C_ADR` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_ADR2` `C_ADR2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_CODE` `C_CODE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_CP` `C_CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_EMAIL` `C_EMAIL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_ETAGE` `C_ETAGE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_FAX` `C_FAX` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_NOM` `C_NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_OBS` `C_OBS` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_QUALITE` `C_QUALITE` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_TEL1` `C_TEL1` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_TEL2` `C_TEL2` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_TELP` `C_TELP` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `C_VILLE` `C_VILLE` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `COM_VI` `COM_VI` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `GROUPE` `GROUPE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `LIBCOMPL` `LIBCOMPL` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `no_agrement` `no_agrement` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `NOMCLI` `NOMCLI` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `NOPOL` `NOPOL` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `NOSIN` `NOSIN` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `REF_EXPERT` `REF_EXPERT` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `STATUS` `STATUS` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `suivi_par` `suivi_par` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `TX_TRAV` `TX_TRAV` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `TYPECLI` `TYPECLI` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `TYPETRAV` `TYPETRAV` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `USERMAJ` `USERMAJ` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`dem_devis` CHANGE `VREF` `VREF` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_lig` CHANGE `attached_text` `attached_text` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_lig` CHANGE `COMMENT` `COMMENT` varchar(70) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_lig` CHANGE `LISTE` `LISTE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_lig` CHANGE `REF_LET` `REF_LET` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_lig` CHANGE `REF_REL` `REF_REL` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_lig` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`dem_lig` CHANGE `USERMAJ` `USERMAJ` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `anti_retour` `anti_retour` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `auteur_code` `auteur_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `auteur_nom` `auteur_nom` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `blocage_acces` `blocage_acces` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `blocage_pluralite` `blocage_pluralite` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `blocage_rdf_differente` `blocage_rdf_differente` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `blocage_rdf_infructueuse` `blocage_rdf_infructueuse` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `C_ADR` `C_ADR` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `C_ADR2` `C_ADR2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `C_CP` `C_CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `C_NOM` `C_NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `C_QUALITE` `C_QUALITE` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `C_TEL1` `C_TEL1` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `C_TELP` `C_TELP` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `C_VILLE` `C_VILLE` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `caracteristique` `caracteristique` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `conclusions` `conclusions` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `degats` `degats` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `descr_detect` `descr_detect` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `descr_repar` `descr_repar` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `detection_fuite` `detection_fuite` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `element_clos` `element_clos` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `element_couvert` `element_couvert` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `equipement` `equipement` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `NOMCLI` `NOMCLI` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `NOSIN` `NOSIN` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `rapport` `rapport` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `reseau_ext` `reseau_ext` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `reseau_int` `reseau_int` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `reseau_local` `reseau_local` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `signature_svg` `signature_svg` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `statut_proprio` `statut_proprio` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `tierce_coordonnees` `tierce_coordonnees` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `tierce_personne` `tierce_personne` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `visite1ere` `visite1ere` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `voisin` `voisin` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `voisin_adresse` `voisin_adresse` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dem_rdf` CHANGE `voisin_coordonnees` `voisin_coordonnees` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_ADR` `C_ADR` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_ADR2` `C_ADR2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_CODE` `C_CODE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_CP` `C_CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_EMAIL` `C_EMAIL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_ETAGE` `C_ETAGE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_FAX` `C_FAX` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_NOM` `C_NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_OBS` `C_OBS` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_QUALITE` `C_QUALITE` char(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_TEL1` `C_TEL1` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_TEL2` `C_TEL2` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_TELP` `C_TELP` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `C_VILLE` `C_VILLE` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `COMPL` `COMPL` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `GROUPE` `GROUPE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `LIBCOMPL` `LIBCOMPL` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `no_agrement` `no_agrement` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `NOMCLI` `NOMCLI` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `NOPOL` `NOPOL` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `NOSIN` `NOSIN` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `REF_EXPERT` `REF_EXPERT` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `STATUS` `STATUS` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `TYPECLI` `TYPECLI` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `TYPETRAV` `TYPETRAV` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `USERMAJ` `USERMAJ` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis` CHANGE `VREF` `VREF` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis_lig` CHANGE `LIB` `LIB` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis_lig` CHANGE `REF` `REF` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`devis_lig` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`devis_lig` CHANGE `USERMAJ` `USERMAJ` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dossier_attaches` CHANGE `nomfichier` `nomfichier` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dossier_attaches` CHANGE `nomrep` `nomrep` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dossier_attaches` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`dossier_attaches` CHANGE `taillefichier` `taillefichier` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`dossier_attaches` CHANGE `usermaj` `usermaj` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`email_rappels` CHANGE `email` `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`email_rappels` CHANGE `nompren` `nompren` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`email_rappels` CHANGE `rdv_statut` `rdv_statut` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`email_rappels` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `ATTENTION` `ATTENTION` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_ADR` `C_ADR` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_ADR2` `C_ADR2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_CODE` `C_CODE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_CP` `C_CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_EMAIL` `C_EMAIL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_ETAGE` `C_ETAGE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_FAX` `C_FAX` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_NOM` `C_NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_OBS` `C_OBS` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_QUALITE` `C_QUALITE` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_TEL1` `C_TEL1` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_TEL2` `C_TEL2` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_TELP` `C_TELP` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `C_VILLE` `C_VILLE` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `COMPL` `COMPL` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `GROUPE` `GROUPE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `LIBCOMPL` `LIBCOMPL` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `NOMCLI` `NOMCLI` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `NOPOL` `NOPOL` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `NOSIN` `NOSIN` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `REF_EXPERT` `REF_EXPERT` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `STATUS` `STATUS` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `TYPECLI` `TYPECLI` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `TYPETRAV` `TYPETRAV` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `USERMAJ` `USERMAJ` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture` CHANGE `VREF` `VREF` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture_lig` CHANGE `LIB` `LIB` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture_lig` CHANGE `REF` `REF` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture_lig` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`facture_lig` CHANGE `USERMAJ` `USERMAJ` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture_reg` CHANGE `ETS` `ETS` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture_reg` CHANGE `JST` `JST` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`facture_reg` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`lettre` CHANGE `LIBELLE` `LIBELLE` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`lettre` CHANGE `REF` `REF` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`liv_bnq` CHANGE `ETS` `ETS` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`liv_bnq` CHANGE `JNL` `JNL` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`liv_bnq` CHANGE `JST` `JST` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`liv_bnq` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_agenda` CHANGE `code` `code` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_agenda` CHANGE `nom` `nom` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_agenda` CHANGE `planning` `planning` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `ADRESSE` `ADRESSE` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `ADRESSE2` `ADRESSE2` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `CP` `CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `FAX` `FAX` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `NOM` `NOM` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `TEL1` `TEL1` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `TEL2` `TEL2` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `TELP` `TELP` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_cabinet` CHANGE `VILLE` `VILLE` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_chantier` CHANGE `CODE` `CODE` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_chantier` CHANGE `Couleur` `Couleur` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_chantier` CHANGE `LIB` `LIB` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_codespostaux` CHANGE `code_commune` `code_commune` char(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_codespostaux` CHANGE `code_postal` `code_postal` char(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_codespostaux` CHANGE `libelle` `libelle` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_codespostaux` CHANGE `nom_commune` `nom_commune` varchar(38) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_editcrys` CHANGE `crystal_rpt` `crystal_rpt` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_editcrys` CHANGE `imprimante` `imprimante` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_editcrys` CHANGE `libelle` `libelle` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_editcrys` CHANGE `procedure` `procedure` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_editcrys` CHANGE `rubrique` `rubrique` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_editcrys` CHANGE `selection` `selection` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_experts` CHANGE `email` `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_experts` CHANGE `NOM` `NOM` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_experts` CHANGE `TEL1` `TEL1` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_experts` CHANGE `TEL2` `TEL2` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_famille` CHANGE `CODE` `CODE` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_famille` CHANGE `LIB` `LIB` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_groupe` CHANGE `CODE` `CODE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_groupe` CHANGE `LIB` `LIB` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_journaux` CHANGE `CODE` `CODE` char(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_journaux` CHANGE `LIB` `LIB` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_journaux` CHANGE `RIB_AGN` `RIB_AGN` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_journaux` CHANGE `RIB_BNQ` `RIB_BNQ` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_journaux` CHANGE `RIB_CLE` `RIB_CLE` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_journaux` CHANGE `RIB_CPT` `RIB_CPT` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_journaux` CHANGE `RIB_TITULAIRE` `RIB_TITULAIRE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_modereg` CHANGE `LIB` `LIB` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_ouvrier` CHANGE `CODE` `CODE` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_ouvrier` CHANGE `NOM` `NOM` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_ouvrier` CHANGE `QUALIFICATIONS` `QUALIFICATIONS` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_printers` CHANGE `CD_UTI` `CD_UTI` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_printers` CHANGE `imp_blanc` `imp_blanc` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_printers` CHANGE `imp_entete` `imp_entete` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_printers` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_qualite` CHANGE `CODE` `CODE` char(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_qualite` CHANGE `LIB` `LIB` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_sfam` CHANGE `CODE` `CODE` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_sfam` CHANGE `LIB` `LIB` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `ADRESSE` `ADRESSE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `B_Code` `B_Code` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `B_Compte` `B_Compte` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `B_Lib` `B_Lib` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `C_NomFic` `C_NomFic` varchar(13) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `Corresp1` `Corresp1` varchar(65) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `Corresp2` `Corresp2` varchar(65) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `Corresp3` `Corresp3` varchar(65) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `Corresp4` `Corresp4` varchar(65) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `CP` `CP` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `email_cci` `email_cci` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `email_from` `email_from` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `NOM` `NOM` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `TEL` `TEL` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `V_Code` `V_Code` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `V_Compte` `V_Compte` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `V_Lib` `V_Lib` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_societe` CHANGE `VILLE` `VILLE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_tarifs` CHANGE `lib` `lib` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_tarifs` CHANGE `no_agrement` `no_agrement` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_texts` CHANGE `intitule` `intitule` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_texts` CHANGE `texte` `texte` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_texts` CHANGE `theme` `theme` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_tva` CHANGE `LIB` `LIB` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_type` CHANGE `CODE` `CODE` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_type` CHANGE `LIB` `LIB` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_types_rdv` CHANGE `LIB` `LIB` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_users` CHANGE `agenda` `agenda` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_users` CHANGE `CD_UTI` `CD_UTI` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`p_users` CHANGE `email` `email` varchar(55) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_users` CHANGE `mdp` `mdp` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_users` CHANGE `mdp_oublie` `mdp_oublie` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_users` CHANGE `NOM` `NOM` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_users` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`p_users` CHANGE `ua_string` `ua_string` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_ADR` `C_ADR` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_ADR2` `C_ADR2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_CODE` `C_CODE` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_CP` `C_CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_EMAIL` `C_EMAIL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_ETAGE` `C_ETAGE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_FAX` `C_FAX` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_NOM` `C_NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_OBS` `C_OBS` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_QUALITE` `C_QUALITE` char(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_TEL1` `C_TEL1` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_TEL2` `C_TEL2` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_TELP` `C_TELP` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `C_VILLE` `C_VILLE` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `COMPL` `COMPL` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `GROUPE` `GROUPE` char(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `LIBCOMPL` `LIBCOMPL` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `no_agrement` `no_agrement` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `NOMCLI` `NOMCLI` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `NOPOL` `NOPOL` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `NOSIN` `NOSIN` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `REF_EXPERT` `REF_EXPERT` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `STATUS` `STATUS` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `TYPECLI` `TYPECLI` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `TYPETRAV` `TYPETRAV` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `USERMAJ` `USERMAJ` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `visite_par` `visite_par` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma` CHANGE `VREF` `VREF` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma_lig` CHANGE `LIB` `LIB` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma_lig` CHANGE `REF` `REF` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`proforma_lig` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`proforma_lig` CHANGE `USERMAJ` `USERMAJ` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`rdf_causes` CHANGE `code` `code` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`rdf_causes` CHANGE `libelle` `libelle` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_analyse_devis` CHANGE `CodeUser` `CodeUser` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`t_analyse_devis` CHANGE `comment` `comment` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_debug` CHANGE `msg` `msg` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_debug` CHANGE `proc` `proc` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_ecritures` CHANGE `codetva` `codetva` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`t_ecritures` CHANGE `journal` `journal` char(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_ecritures` CHANGE `libelle` `libelle` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_ecritures` CHANGE `societe` `societe` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_ecritures` CHANGE `user` `user` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `ADR` `ADR` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `CLIENT` `CLIENT` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `Code` `Code` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `codeUser` `codeUser` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `COMMENT` `COMMENT` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `Humidite` `Humidite` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `LISTE` `LISTE` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `NO_POL` `NO_POL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `NO_SIN` `NO_SIN` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `NOM` `NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `Rubrique` `Rubrique` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `societe` `societe` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `TEL` `TEL` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `TEL_BUR` `TEL_BUR` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `TEL_GSM` `TEL_GSM` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_imp_rdv_jour` CHANGE `VILLE` `VILLE` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `ADR` `ADR` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `ADR2` `ADR2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `C_ADR` `C_ADR` varchar(90) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `C_NOM` `C_NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `C_VILLE` `C_VILLE` varchar(90) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `codeUser` `codeUser` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `Corresp1` `Corresp1` varchar(65) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `Corresp2` `Corresp2` varchar(65) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `Corresp3` `Corresp3` varchar(65) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `Corresp4` `Corresp4` varchar(65) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `CP` `CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `LIBELLE` `LIBELLE` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `NOM` `NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `NOPOL` `NOPOL` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `NOSIN` `NOSIN` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `QUALITE` `QUALITE` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `REF` `REF` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `TYPE` `TYPE` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `TYPECLI` `TYPECLI` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `VILLE` `VILLE` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `VREF` `VREF` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_log_nuit` CHANGE `msg` `msg` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_log_nuit` CHANGE `proc` `proc` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `ADR1` `ADR1` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `ADR2` `ADR2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `Chantier` `Chantier` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `CodeUser` `CodeUser` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `CP` `CP` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `Daterel` `Daterel` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `Daterel2` `Daterel2` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `NIVEAU` `NIVEAU` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `NOM` `NOM` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `NOPOL` `NOPOL` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `NOSIN` `NOSIN` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `TYPE` `TYPE` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_relance` CHANGE `VILLE` `VILLE` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;

ALTER TABLE `bddevfac`.`lettre` CHANGE `CORPS` `CORPS` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
ALTER TABLE `bddevfac`.`t_lettre` CHANGE `CORPS` `CORPS` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL;
SET FOREIGN_KEY_CHECKS=1;
