From e28ab7f759cc008d80771aa36ae6a51f631b8802 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 24 Feb 2011 09:57:02 +0000 Subject: [PATCH] Fix: compatibility with mysql 5.5+ --- htdocs/install/mysql/tables/llx_accountingaccount.sql | 2 +- htdocs/install/mysql/tables/llx_accountingdebcred.sql | 2 +- htdocs/install/mysql/tables/llx_accountingsystem.sql | 2 +- htdocs/install/mysql/tables/llx_accountingtransaction.sql | 2 +- htdocs/install/mysql/tables/llx_action_def.sql | 2 +- htdocs/install/mysql/tables/llx_actioncomm.sql | 2 +- htdocs/install/mysql/tables/llx_adherent.sql | 2 +- htdocs/install/mysql/tables/llx_adherent_options.sql | 2 +- htdocs/install/mysql/tables/llx_adherent_options_label.sql | 2 +- htdocs/install/mysql/tables/llx_adherent_type.sql | 2 +- htdocs/install/mysql/tables/llx_bank.sql | 2 +- htdocs/install/mysql/tables/llx_bank_account.sql | 2 +- htdocs/install/mysql/tables/llx_bank_categ.sql | 2 +- htdocs/install/mysql/tables/llx_bank_class.sql | 2 +- htdocs/install/mysql/tables/llx_bank_url.sql | 2 +- htdocs/install/mysql/tables/llx_bookmark.sql | 2 +- htdocs/install/mysql/tables/llx_bordereau_cheque.sql | 2 +- htdocs/install/mysql/tables/llx_boxes.sql | 2 +- htdocs/install/mysql/tables/llx_boxes_def.sql | 2 +- htdocs/install/mysql/tables/llx_c_actioncomm.sql | 2 +- htdocs/install/mysql/tables/llx_c_barcode_type.sql | 2 +- htdocs/install/mysql/tables/llx_c_chargesociales.sql | 2 +- htdocs/install/mysql/tables/llx_c_civilite.sql | 2 +- htdocs/install/mysql/tables/llx_c_currencies.sql | 2 +- htdocs/install/mysql/tables/llx_c_departements.sql | 2 +- htdocs/install/mysql/tables/llx_c_ecotaxe.sql | 2 +- htdocs/install/mysql/tables/llx_c_effectif.sql | 2 +- htdocs/install/mysql/tables/llx_c_field_list.sql | 2 +- htdocs/install/mysql/tables/llx_c_forme_juridique.sql | 2 +- .../mysql/tables/llx_c_methode_commande_fournisseur.sql | 2 +- htdocs/install/mysql/tables/llx_c_paiement.sql | 2 +- htdocs/install/mysql/tables/llx_c_paper_format.sql | 4 ++-- htdocs/install/mysql/tables/llx_c_payment_term.sql | 2 +- htdocs/install/mysql/tables/llx_c_pays.sql | 2 +- htdocs/install/mysql/tables/llx_c_propalst.sql | 2 +- htdocs/install/mysql/tables/llx_c_prospectlevel.sql | 2 +- htdocs/install/mysql/tables/llx_c_regions.sql | 2 +- htdocs/install/mysql/tables/llx_c_shipment_mode.sql | 2 +- htdocs/install/mysql/tables/llx_c_stcomm.sql | 2 +- htdocs/install/mysql/tables/llx_c_tva.sql | 2 +- htdocs/install/mysql/tables/llx_c_type_contact.sql | 2 +- htdocs/install/mysql/tables/llx_c_type_fees.sql | 2 +- htdocs/install/mysql/tables/llx_c_typent.sql | 2 +- htdocs/install/mysql/tables/llx_c_ziptown.sql | 2 +- htdocs/install/mysql/tables/llx_categorie.sql | 2 +- htdocs/install/mysql/tables/llx_categorie_association.sql | 2 +- htdocs/install/mysql/tables/llx_categorie_fournisseur.sql | 2 +- htdocs/install/mysql/tables/llx_categorie_member.sql | 2 +- htdocs/install/mysql/tables/llx_categorie_product.sql | 2 +- htdocs/install/mysql/tables/llx_categorie_societe.sql | 2 +- htdocs/install/mysql/tables/llx_chargesociales.sql | 2 +- htdocs/install/mysql/tables/llx_commande.sql | 2 +- htdocs/install/mysql/tables/llx_commande_fournisseur.sql | 2 +- .../mysql/tables/llx_commande_fournisseur_dispatch.sql | 4 ++-- .../install/mysql/tables/llx_commande_fournisseur_log.sql | 2 +- htdocs/install/mysql/tables/llx_commande_fournisseurdet.sql | 2 +- htdocs/install/mysql/tables/llx_commandedet.sql | 2 +- htdocs/install/mysql/tables/llx_compta.sql | 2 +- htdocs/install/mysql/tables/llx_compta_account.sql | 2 +- htdocs/install/mysql/tables/llx_compta_compte_generaux.sql | 2 +- htdocs/install/mysql/tables/llx_const.sql | 2 +- htdocs/install/mysql/tables/llx_contrat.sql | 2 +- htdocs/install/mysql/tables/llx_contratdet.sql | 2 +- htdocs/install/mysql/tables/llx_contratdet_log.sql | 2 +- htdocs/install/mysql/tables/llx_cotisation.sql | 2 +- htdocs/install/mysql/tables/llx_deplacement.sql | 2 +- htdocs/install/mysql/tables/llx_document.sql | 2 +- htdocs/install/mysql/tables/llx_document_generator.sql | 2 +- htdocs/install/mysql/tables/llx_document_model.sql | 2 +- htdocs/install/mysql/tables/llx_dolibarr_modules.sql | 2 +- htdocs/install/mysql/tables/llx_domain.sql | 2 +- htdocs/install/mysql/tables/llx_don.sql | 2 +- htdocs/install/mysql/tables/llx_ecm_directories.sql | 2 +- htdocs/install/mysql/tables/llx_ecm_documents.sql | 2 +- htdocs/install/mysql/tables/llx_element_contact.sql | 2 +- htdocs/install/mysql/tables/llx_element_element.sql | 2 +- htdocs/install/mysql/tables/llx_element_rang.sql | 2 +- htdocs/install/mysql/tables/llx_entrepot.sql | 2 +- htdocs/install/mysql/tables/llx_events.sql | 2 +- htdocs/install/mysql/tables/llx_expedition.sql | 2 +- htdocs/install/mysql/tables/llx_expeditiondet.sql | 2 +- htdocs/install/mysql/tables/llx_export_compta.sql | 2 +- htdocs/install/mysql/tables/llx_export_model.sql | 2 +- htdocs/install/mysql/tables/llx_extra_fields.sql | 2 +- htdocs/install/mysql/tables/llx_extra_fields_options.sql | 2 +- htdocs/install/mysql/tables/llx_extra_fields_values.sql | 2 +- htdocs/install/mysql/tables/llx_facture.sql | 2 +- htdocs/install/mysql/tables/llx_facture_fourn.sql | 2 +- htdocs/install/mysql/tables/llx_facture_fourn_det.sql | 2 +- htdocs/install/mysql/tables/llx_facture_rec.sql | 2 +- htdocs/install/mysql/tables/llx_facturedet.sql | 2 +- htdocs/install/mysql/tables/llx_facturedet_rec.sql | 2 +- htdocs/install/mysql/tables/llx_fichinter.sql | 2 +- htdocs/install/mysql/tables/llx_fichinterdet.sql | 2 +- htdocs/install/mysql/tables/llx_import_model.sql | 2 +- htdocs/install/mysql/tables/llx_livraison.sql | 2 +- htdocs/install/mysql/tables/llx_livraisondet.sql | 2 +- htdocs/install/mysql/tables/llx_mailing.sql | 2 +- htdocs/install/mysql/tables/llx_mailing_cibles.sql | 2 +- htdocs/install/mysql/tables/llx_menu.sql | 2 +- htdocs/install/mysql/tables/llx_notify.sql | 2 +- htdocs/install/mysql/tables/llx_notify_def.sql | 2 +- htdocs/install/mysql/tables/llx_paiement.sql | 2 +- htdocs/install/mysql/tables/llx_paiement_facture.sql | 2 +- htdocs/install/mysql/tables/llx_paiementcharge.sql | 6 +++--- htdocs/install/mysql/tables/llx_paiementfourn.sql | 2 +- .../install/mysql/tables/llx_paiementfourn_facturefourn.sql | 2 +- htdocs/install/mysql/tables/llx_prelevement_bons.sql | 2 +- htdocs/install/mysql/tables/llx_prelevement_facture.sql | 2 +- .../mysql/tables/llx_prelevement_facture_demande.sql | 2 +- htdocs/install/mysql/tables/llx_prelevement_lignes.sql | 2 +- .../install/mysql/tables/llx_prelevement_notifications.sql | 2 +- htdocs/install/mysql/tables/llx_prelevement_rejet.sql | 2 +- htdocs/install/mysql/tables/llx_product.sql | 2 +- htdocs/install/mysql/tables/llx_product_association.sql | 2 +- htdocs/install/mysql/tables/llx_product_ca.sql | 2 +- htdocs/install/mysql/tables/llx_product_fournisseur.sql | 2 +- .../install/mysql/tables/llx_product_fournisseur_price.sql | 2 +- .../mysql/tables/llx_product_fournisseur_price_log.sql | 2 +- htdocs/install/mysql/tables/llx_product_lang.sql | 2 +- htdocs/install/mysql/tables/llx_product_price.sql | 2 +- htdocs/install/mysql/tables/llx_product_stock.sql | 2 +- htdocs/install/mysql/tables/llx_projet.sql | 2 +- htdocs/install/mysql/tables/llx_projet_task.sql | 2 +- htdocs/install/mysql/tables/llx_projet_task_time.sql | 2 +- htdocs/install/mysql/tables/llx_propal.sql | 2 +- htdocs/install/mysql/tables/llx_propaldet.sql | 2 +- htdocs/install/mysql/tables/llx_rights_def.sql | 2 +- htdocs/install/mysql/tables/llx_societe.sql | 2 +- htdocs/install/mysql/tables/llx_societe_address.sql | 2 +- htdocs/install/mysql/tables/llx_societe_commerciaux.sql | 2 +- htdocs/install/mysql/tables/llx_societe_log.sql | 2 +- htdocs/install/mysql/tables/llx_societe_prices.sql | 2 +- htdocs/install/mysql/tables/llx_societe_remise.sql | 6 +++--- htdocs/install/mysql/tables/llx_societe_remise_except.sql | 2 +- htdocs/install/mysql/tables/llx_societe_rib.sql | 2 +- htdocs/install/mysql/tables/llx_socpeople.sql | 2 +- htdocs/install/mysql/tables/llx_stock_mouvement.sql | 2 +- htdocs/install/mysql/tables/llx_texts.sql | 2 +- htdocs/install/mysql/tables/llx_tva.sql | 2 +- htdocs/install/mysql/tables/llx_user.sql | 2 +- htdocs/install/mysql/tables/llx_user_alert.sql | 2 +- htdocs/install/mysql/tables/llx_user_clicktodial.sql | 2 +- htdocs/install/mysql/tables/llx_user_param.sql | 2 +- htdocs/install/mysql/tables/llx_user_rights.sql | 2 +- htdocs/install/mysql/tables/llx_usergroup.sql | 2 +- htdocs/install/mysql/tables/llx_usergroup_rights.sql | 2 +- htdocs/install/mysql/tables/llx_usergroup_user.sql | 2 +- 148 files changed, 154 insertions(+), 154 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_accountingaccount.sql b/htdocs/install/mysql/tables/llx_accountingaccount.sql index 1867782e7c1..6e6e960072b 100644 --- a/htdocs/install/mysql/tables/llx_accountingaccount.sql +++ b/htdocs/install/mysql/tables/llx_accountingaccount.sql @@ -28,4 +28,4 @@ create table llx_accountingaccount account_number varchar(20) NOT NULL, account_parent varchar(20), label varchar(128) NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_accountingdebcred.sql b/htdocs/install/mysql/tables/llx_accountingdebcred.sql index eedca32b9e3..02ff06ba9f1 100644 --- a/htdocs/install/mysql/tables/llx_accountingdebcred.sql +++ b/htdocs/install/mysql/tables/llx_accountingdebcred.sql @@ -25,4 +25,4 @@ create table llx_accountingdebcred account_number varchar(20) NOT NULL, amount real NOT NULL, direction varchar(1) NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_accountingsystem.sql b/htdocs/install/mysql/tables/llx_accountingsystem.sql index f0e1bf0d6fd..f22262c9353 100644 --- a/htdocs/install/mysql/tables/llx_accountingsystem.sql +++ b/htdocs/install/mysql/tables/llx_accountingsystem.sql @@ -28,4 +28,4 @@ create table llx_accountingsystem fk_author varchar(20), tms timestamp, active smallint DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_accountingtransaction.sql b/htdocs/install/mysql/tables/llx_accountingtransaction.sql index 376efb32f15..b2cdf08af5f 100644 --- a/htdocs/install/mysql/tables/llx_accountingtransaction.sql +++ b/htdocs/install/mysql/tables/llx_accountingtransaction.sql @@ -29,4 +29,4 @@ create table llx_accountingtransaction fk_source integer NOT NULL, sourcetype varchar(16) NOT NULL, url varchar(255) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_action_def.sql b/htdocs/install/mysql/tables/llx_action_def.sql index 68638f534f6..530051af7d9 100644 --- a/htdocs/install/mysql/tables/llx_action_def.sql +++ b/htdocs/install/mysql/tables/llx_action_def.sql @@ -28,4 +28,4 @@ create table llx_action_def titre varchar(255) NOT NULL, description text, objet_type varchar(16) NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_actioncomm.sql b/htdocs/install/mysql/tables/llx_actioncomm.sql index 8078f017484..d2a733f1c85 100644 --- a/htdocs/install/mysql/tables/llx_actioncomm.sql +++ b/htdocs/install/mysql/tables/llx_actioncomm.sql @@ -61,7 +61,7 @@ create table llx_actioncomm fk_supplier_order integer, fk_supplier_invoice integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_adherent.sql b/htdocs/install/mysql/tables/llx_adherent.sql index 16ac7ba24cb..7bf9ae2adee 100644 --- a/htdocs/install/mysql/tables/llx_adherent.sql +++ b/htdocs/install/mysql/tables/llx_adherent.sql @@ -61,4 +61,4 @@ create table llx_adherent fk_user_mod integer, fk_user_valid integer, import_key varchar(14) -- Import key -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_adherent_options.sql b/htdocs/install/mysql/tables/llx_adherent_options.sql index a24047d3f6c..491d5690802 100644 --- a/htdocs/install/mysql/tables/llx_adherent_options.sql +++ b/htdocs/install/mysql/tables/llx_adherent_options.sql @@ -25,4 +25,4 @@ create table llx_adherent_options rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp, fk_member integer NOT NULL -- member id -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_adherent_options_label.sql b/htdocs/install/mysql/tables/llx_adherent_options_label.sql index 78e53d6e46f..e514c2cb67b 100644 --- a/htdocs/install/mysql/tables/llx_adherent_options_label.sql +++ b/htdocs/install/mysql/tables/llx_adherent_options_label.sql @@ -30,4 +30,4 @@ create table llx_adherent_options_label type varchar(8), size integer DEFAULT 0, pos integer DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_adherent_type.sql b/htdocs/install/mysql/tables/llx_adherent_type.sql index 458e290759a..7e4fa074e71 100644 --- a/htdocs/install/mysql/tables/llx_adherent_type.sql +++ b/htdocs/install/mysql/tables/llx_adherent_type.sql @@ -35,4 +35,4 @@ create table llx_adherent_type vote varchar(3) NOT NULL DEFAULT 'yes', note text, mail_valid text -- mail envoye a la validation -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_bank.sql b/htdocs/install/mysql/tables/llx_bank.sql index dd6d3cf7a8a..eded16c49fe 100644 --- a/htdocs/install/mysql/tables/llx_bank.sql +++ b/htdocs/install/mysql/tables/llx_bank.sql @@ -39,4 +39,4 @@ create table llx_bank banque varchar(255), -- banque pour les cheques emetteur varchar(255), -- emetteur du cheque author varchar(40) -- a supprimer apres migration -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_bank_account.sql b/htdocs/install/mysql/tables/llx_bank_account.sql index a18cd7b2ada..3710a87470a 100644 --- a/htdocs/install/mysql/tables/llx_bank_account.sql +++ b/htdocs/install/mysql/tables/llx_bank_account.sql @@ -54,7 +54,7 @@ create table llx_bank_account min_allowed integer DEFAULT 0, min_desired integer DEFAULT 0, comment text -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_bank_categ.sql b/htdocs/install/mysql/tables/llx_bank_categ.sql index 7c5d8f23ee9..ad41449f288 100644 --- a/htdocs/install/mysql/tables/llx_bank_categ.sql +++ b/htdocs/install/mysql/tables/llx_bank_categ.sql @@ -24,4 +24,4 @@ create table llx_bank_categ rowid integer AUTO_INCREMENT PRIMARY KEY, label varchar(255), entity integer DEFAULT 1 NOT NULL -- multi company id -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_bank_class.sql b/htdocs/install/mysql/tables/llx_bank_class.sql index 7e5d14efe79..cd68a9cdb40 100644 --- a/htdocs/install/mysql/tables/llx_bank_class.sql +++ b/htdocs/install/mysql/tables/llx_bank_class.sql @@ -22,4 +22,4 @@ create table llx_bank_class ( lineid integer NOT NULL, fk_categ integer NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_bank_url.sql b/htdocs/install/mysql/tables/llx_bank_url.sql index 5e343aee29b..d67cf7fe4b8 100644 --- a/htdocs/install/mysql/tables/llx_bank_url.sql +++ b/htdocs/install/mysql/tables/llx_bank_url.sql @@ -27,4 +27,4 @@ create table llx_bank_url url varchar(255), label varchar(255), type varchar(20) NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_bookmark.sql b/htdocs/install/mysql/tables/llx_bookmark.sql index 9d6ec85b95c..115bd310d70 100644 --- a/htdocs/install/mysql/tables/llx_bookmark.sql +++ b/htdocs/install/mysql/tables/llx_bookmark.sql @@ -29,4 +29,4 @@ create table llx_bookmark title varchar(64), favicon varchar(24), position integer DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_bordereau_cheque.sql b/htdocs/install/mysql/tables/llx_bordereau_cheque.sql index 2106b73f9e2..10c4cc2d853 100644 --- a/htdocs/install/mysql/tables/llx_bordereau_cheque.sql +++ b/htdocs/install/mysql/tables/llx_bordereau_cheque.sql @@ -37,4 +37,4 @@ create table llx_bordereau_cheque note text, statut smallint NOT NULL DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_boxes.sql b/htdocs/install/mysql/tables/llx_boxes.sql index e246596b599..463b1235094 100644 --- a/htdocs/install/mysql/tables/llx_boxes.sql +++ b/htdocs/install/mysql/tables/llx_boxes.sql @@ -31,4 +31,4 @@ create table llx_boxes position smallint NOT NULL, box_order varchar(3) NOT NULL, fk_user integer default 0 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_boxes_def.sql b/htdocs/install/mysql/tables/llx_boxes_def.sql index c3fd77ac075..821fe3e5c04 100644 --- a/htdocs/install/mysql/tables/llx_boxes_def.sql +++ b/htdocs/install/mysql/tables/llx_boxes_def.sql @@ -27,4 +27,4 @@ create table llx_boxes_def entity integer DEFAULT 1 NOT NULL, -- multi company id tms timestamp, note varchar(130) -- Do not increase this as file+note must be small to allow index -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_actioncomm.sql b/htdocs/install/mysql/tables/llx_c_actioncomm.sql index d5493c0bffd..0b0b34390c4 100644 --- a/htdocs/install/mysql/tables/llx_c_actioncomm.sql +++ b/htdocs/install/mysql/tables/llx_c_actioncomm.sql @@ -29,4 +29,4 @@ create table llx_c_actioncomm active tinyint DEFAULT 1 NOT NULL, todo tinyint, position integer NOT NULL DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_barcode_type.sql b/htdocs/install/mysql/tables/llx_c_barcode_type.sql index 491695f1dac..66cd5111325 100644 --- a/htdocs/install/mysql/tables/llx_c_barcode_type.sql +++ b/htdocs/install/mysql/tables/llx_c_barcode_type.sql @@ -28,4 +28,4 @@ create table llx_c_barcode_type coder varchar(16) NOT NULL, example varchar(16) NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_chargesociales.sql b/htdocs/install/mysql/tables/llx_c_chargesociales.sql index 077040f4627..5f6f4d590ae 100644 --- a/htdocs/install/mysql/tables/llx_c_chargesociales.sql +++ b/htdocs/install/mysql/tables/llx_c_chargesociales.sql @@ -27,7 +27,7 @@ create table llx_c_chargesociales active tinyint DEFAULT 1 NOT NULL, code varchar(12) NOT NULL, fk_pays integer DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_civilite.sql b/htdocs/install/mysql/tables/llx_c_civilite.sql index 58e8c63e850..07285ddee22 100644 --- a/htdocs/install/mysql/tables/llx_c_civilite.sql +++ b/htdocs/install/mysql/tables/llx_c_civilite.sql @@ -25,5 +25,5 @@ create table llx_c_civilite code varchar(6) UNIQUE NOT NULL, civilite varchar(50), active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_currencies.sql b/htdocs/install/mysql/tables/llx_c_currencies.sql index ddb45efe949..23cd0f575ed 100644 --- a/htdocs/install/mysql/tables/llx_c_currencies.sql +++ b/htdocs/install/mysql/tables/llx_c_currencies.sql @@ -25,5 +25,5 @@ create table llx_c_currencies label varchar(64), labelsing varchar(64), active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_departements.sql b/htdocs/install/mysql/tables/llx_c_departements.sql index fe35170ce9c..13cb2520aa7 100644 --- a/htdocs/install/mysql/tables/llx_c_departements.sql +++ b/htdocs/install/mysql/tables/llx_c_departements.sql @@ -29,7 +29,7 @@ create table llx_c_departements ncc varchar(50), nom varchar(50), active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_ecotaxe.sql b/htdocs/install/mysql/tables/llx_c_ecotaxe.sql index cef401666c6..a6bb8ca70f7 100644 --- a/htdocs/install/mysql/tables/llx_c_ecotaxe.sql +++ b/htdocs/install/mysql/tables/llx_c_ecotaxe.sql @@ -28,4 +28,4 @@ create table llx_c_ecotaxe organization varchar(255), -- Organisme gerant le bareme tarifaire fk_pays integer NOT NULL, -- Pays correspondant active tinyint DEFAULT 1 NOT NULL -)type=innodb; \ No newline at end of file +)ENGINE=innodb; \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_c_effectif.sql b/htdocs/install/mysql/tables/llx_c_effectif.sql index 15b38329eb6..4babd549cf0 100644 --- a/htdocs/install/mysql/tables/llx_c_effectif.sql +++ b/htdocs/install/mysql/tables/llx_c_effectif.sql @@ -25,5 +25,5 @@ create table llx_c_effectif code varchar(12) UNIQUE NOT NULL, libelle varchar(30), active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_field_list.sql b/htdocs/install/mysql/tables/llx_c_field_list.sql index d1354edf43c..884d8274cfd 100644 --- a/htdocs/install/mysql/tables/llx_c_field_list.sql +++ b/htdocs/install/mysql/tables/llx_c_field_list.sql @@ -33,4 +33,4 @@ create table llx_c_field_list enabled varchar(255) DEFAULT 1, -- Condition to show or hide rang integer DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_forme_juridique.sql b/htdocs/install/mysql/tables/llx_c_forme_juridique.sql index 846ec6369aa..83be0093dcf 100644 --- a/htdocs/install/mysql/tables/llx_c_forme_juridique.sql +++ b/htdocs/install/mysql/tables/llx_c_forme_juridique.sql @@ -27,5 +27,5 @@ create table llx_c_forme_juridique libelle varchar(255), isvatexempted tinyint DEFAULT 0 NOT NULL, active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_methode_commande_fournisseur.sql b/htdocs/install/mysql/tables/llx_c_methode_commande_fournisseur.sql index 04069eff4ef..188e7c60930 100644 --- a/htdocs/install/mysql/tables/llx_c_methode_commande_fournisseur.sql +++ b/htdocs/install/mysql/tables/llx_c_methode_commande_fournisseur.sql @@ -25,5 +25,5 @@ create table llx_c_methode_commande_fournisseur code varchar(30), libelle varchar(60), active tinyint default 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_paiement.sql b/htdocs/install/mysql/tables/llx_c_paiement.sql index ffad4ace823..1fa04bb978a 100644 --- a/htdocs/install/mysql/tables/llx_c_paiement.sql +++ b/htdocs/install/mysql/tables/llx_c_paiement.sql @@ -33,7 +33,7 @@ create table llx_c_paiement libelle varchar(30), type smallint, active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_paper_format.sql b/htdocs/install/mysql/tables/llx_c_paper_format.sql index 3256ac07ffb..99c7ad3cee3 100644 --- a/htdocs/install/mysql/tables/llx_c_paper_format.sql +++ b/htdocs/install/mysql/tables/llx_c_paper_format.sql @@ -25,9 +25,9 @@ create table llx_c_paper_format label varchar(50) NOT NULL, width float(6,2) DEFAULT 0, -- Largeur du papier height float(6,2) DEFAULT 0, -- Hauteur du papier - unit varchar(5) NOT NULL, -- Unité de mesure + unit varchar(5) NOT NULL, -- Unit� de mesure active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; -- -- Conversion diff --git a/htdocs/install/mysql/tables/llx_c_payment_term.sql b/htdocs/install/mysql/tables/llx_c_payment_term.sql index 43bd5d382fe..cb7a9156583 100644 --- a/htdocs/install/mysql/tables/llx_c_payment_term.sql +++ b/htdocs/install/mysql/tables/llx_c_payment_term.sql @@ -29,4 +29,4 @@ create table llx_c_payment_term fdm tinyint, -- reglement fin de mois nbjour smallint, decalage smallint -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_pays.sql b/htdocs/install/mysql/tables/llx_c_pays.sql index 908f5a6f71b..2d00f620e02 100644 --- a/htdocs/install/mysql/tables/llx_c_pays.sql +++ b/htdocs/install/mysql/tables/llx_c_pays.sql @@ -26,4 +26,4 @@ create table llx_c_pays code_iso varchar(3) , libelle varchar(50) NOT NULL, active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_propalst.sql b/htdocs/install/mysql/tables/llx_c_propalst.sql index bc5642b5f5f..02052920c8a 100644 --- a/htdocs/install/mysql/tables/llx_c_propalst.sql +++ b/htdocs/install/mysql/tables/llx_c_propalst.sql @@ -25,5 +25,5 @@ create table llx_c_propalst code varchar(12) UNIQUE NOT NULL, label varchar(30), active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_prospectlevel.sql b/htdocs/install/mysql/tables/llx_c_prospectlevel.sql index 38329ae456e..5a9cdc4edde 100644 --- a/htdocs/install/mysql/tables/llx_c_prospectlevel.sql +++ b/htdocs/install/mysql/tables/llx_c_prospectlevel.sql @@ -24,5 +24,5 @@ create table llx_c_prospectlevel label varchar(30), sortorder smallint, active smallint DEFAULT 1 NOT NULL -) type=innodb; +) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_regions.sql b/htdocs/install/mysql/tables/llx_c_regions.sql index 8069a864e97..4c3a49a0c37 100644 --- a/htdocs/install/mysql/tables/llx_c_regions.sql +++ b/htdocs/install/mysql/tables/llx_c_regions.sql @@ -28,5 +28,5 @@ create table llx_c_regions tncc integer, nom varchar(50), active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_shipment_mode.sql b/htdocs/install/mysql/tables/llx_c_shipment_mode.sql index bf549de3c67..5cfd891f889 100644 --- a/htdocs/install/mysql/tables/llx_c_shipment_mode.sql +++ b/htdocs/install/mysql/tables/llx_c_shipment_mode.sql @@ -26,4 +26,4 @@ create table llx_c_shipment_mode libelle varchar(50) NOT NULL, description text, active tinyint DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_stcomm.sql b/htdocs/install/mysql/tables/llx_c_stcomm.sql index 1411cd9d271..861671e3607 100644 --- a/htdocs/install/mysql/tables/llx_c_stcomm.sql +++ b/htdocs/install/mysql/tables/llx_c_stcomm.sql @@ -25,5 +25,5 @@ create table llx_c_stcomm code varchar(12) UNIQUE NOT NULL, libelle varchar(30), active tinyint default 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_tva.sql b/htdocs/install/mysql/tables/llx_c_tva.sql index ad03d573acd..46504e8a1c4 100644 --- a/htdocs/install/mysql/tables/llx_c_tva.sql +++ b/htdocs/install/mysql/tables/llx_c_tva.sql @@ -31,5 +31,5 @@ create table llx_c_tva active tinyint DEFAULT 1 NOT NULL, accountancy_code varchar(15) DEFAULT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_type_contact.sql b/htdocs/install/mysql/tables/llx_c_type_contact.sql index 7ca83bee2ac..30044d8a09e 100644 --- a/htdocs/install/mysql/tables/llx_c_type_contact.sql +++ b/htdocs/install/mysql/tables/llx_c_type_contact.sql @@ -36,4 +36,4 @@ create table llx_c_type_contact code varchar(16) NOT NULL, libelle varchar(64) NOT NULL, active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_type_fees.sql b/htdocs/install/mysql/tables/llx_c_type_fees.sql index 6fc3a56beab..54f740d82b8 100644 --- a/htdocs/install/mysql/tables/llx_c_type_fees.sql +++ b/htdocs/install/mysql/tables/llx_c_type_fees.sql @@ -25,4 +25,4 @@ create table llx_c_type_fees code varchar(12) UNIQUE NOT NULL, libelle varchar(30), active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_typent.sql b/htdocs/install/mysql/tables/llx_c_typent.sql index 03dff835c8b..1ff5803b5d1 100644 --- a/htdocs/install/mysql/tables/llx_c_typent.sql +++ b/htdocs/install/mysql/tables/llx_c_typent.sql @@ -25,4 +25,4 @@ create table llx_c_typent code varchar(12) UNIQUE NOT NULL, libelle varchar(30), active tinyint DEFAULT 1 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_c_ziptown.sql b/htdocs/install/mysql/tables/llx_c_ziptown.sql index feeed299f17..8ffde4de01b 100644 --- a/htdocs/install/mysql/tables/llx_c_ziptown.sql +++ b/htdocs/install/mysql/tables/llx_c_ziptown.sql @@ -26,4 +26,4 @@ create table llx_c_ziptown zip varchar(10) NOT NULL, -- Zip code town varchar(255) NOT NULL, -- Town name active tinyint NOT NULL DEFAULT 1 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_categorie.sql b/htdocs/install/mysql/tables/llx_categorie.sql index 43b85d8d5a4..4c466e0c02b 100644 --- a/htdocs/install/mysql/tables/llx_categorie.sql +++ b/htdocs/install/mysql/tables/llx_categorie.sql @@ -30,7 +30,7 @@ create table llx_categorie fk_soc integer DEFAULT NULL, -- attribution of the category has a company (for product only) visible tinyint DEFAULT 1 NOT NULL, -- determine if the products are visible or not import_key varchar(14) -- Import key -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field type diff --git a/htdocs/install/mysql/tables/llx_categorie_association.sql b/htdocs/install/mysql/tables/llx_categorie_association.sql index a513299c247..60641bf1876 100644 --- a/htdocs/install/mysql/tables/llx_categorie_association.sql +++ b/htdocs/install/mysql/tables/llx_categorie_association.sql @@ -23,4 +23,4 @@ create table llx_categorie_association ( fk_categorie_mere integer NOT NULL, fk_categorie_fille integer NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_categorie_fournisseur.sql b/htdocs/install/mysql/tables/llx_categorie_fournisseur.sql index 1f2059f1355..cfe126b5adf 100644 --- a/htdocs/install/mysql/tables/llx_categorie_fournisseur.sql +++ b/htdocs/install/mysql/tables/llx_categorie_fournisseur.sql @@ -23,4 +23,4 @@ create table llx_categorie_fournisseur fk_categorie integer NOT NULL, fk_societe integer NOT NULL, UNIQUE (fk_categorie, fk_societe) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_categorie_member.sql b/htdocs/install/mysql/tables/llx_categorie_member.sql index b0d2fca86ae..83eb804c875 100644 --- a/htdocs/install/mysql/tables/llx_categorie_member.sql +++ b/htdocs/install/mysql/tables/llx_categorie_member.sql @@ -23,4 +23,4 @@ create table llx_categorie_member ( fk_categorie integer NOT NULL, fk_member integer NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_categorie_product.sql b/htdocs/install/mysql/tables/llx_categorie_product.sql index bfd5f6e66a9..cf5121c34f9 100644 --- a/htdocs/install/mysql/tables/llx_categorie_product.sql +++ b/htdocs/install/mysql/tables/llx_categorie_product.sql @@ -23,4 +23,4 @@ create table llx_categorie_product ( fk_categorie integer NOT NULL, fk_product integer NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_categorie_societe.sql b/htdocs/install/mysql/tables/llx_categorie_societe.sql index 916226f82d6..ebaf9582414 100644 --- a/htdocs/install/mysql/tables/llx_categorie_societe.sql +++ b/htdocs/install/mysql/tables/llx_categorie_societe.sql @@ -22,4 +22,4 @@ create table llx_categorie_societe ( fk_categorie integer NOT NULL, fk_societe integer NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_chargesociales.sql b/htdocs/install/mysql/tables/llx_chargesociales.sql index 9d080e47605..fa9a85aac1f 100644 --- a/htdocs/install/mysql/tables/llx_chargesociales.sql +++ b/htdocs/install/mysql/tables/llx_chargesociales.sql @@ -29,7 +29,7 @@ create table llx_chargesociales amount real default 0 NOT NULL, paye smallint default 0 NOT NULL, periode date -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_commande.sql b/htdocs/install/mysql/tables/llx_commande.sql index dff9aa5e390..3beca357c87 100644 --- a/htdocs/install/mysql/tables/llx_commande.sql +++ b/htdocs/install/mysql/tables/llx_commande.sql @@ -61,4 +61,4 @@ create table llx_commande date_livraison date default NULL, fk_adresse_livraison integer, -- delivery address (deprecated) import_key varchar(14) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_commande_fournisseur.sql b/htdocs/install/mysql/tables/llx_commande_fournisseur.sql index b2e07c7d0c4..0e4cc18c81d 100644 --- a/htdocs/install/mysql/tables/llx_commande_fournisseur.sql +++ b/htdocs/install/mysql/tables/llx_commande_fournisseur.sql @@ -51,7 +51,7 @@ create table llx_commande_fournisseur note_public text, model_pdf varchar(255), fk_methode_commande integer default 0 -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_commande_fournisseur_dispatch.sql b/htdocs/install/mysql/tables/llx_commande_fournisseur_dispatch.sql index 08412c3d08d..09c4ce369a0 100644 --- a/htdocs/install/mysql/tables/llx_commande_fournisseur_dispatch.sql +++ b/htdocs/install/mysql/tables/llx_commande_fournisseur_dispatch.sql @@ -23,8 +23,8 @@ create table llx_commande_fournisseur_dispatch rowid integer AUTO_INCREMENT PRIMARY KEY, fk_commande integer, fk_product integer, - qty float, -- quantité + qty float, -- quantit� fk_entrepot integer, fk_user integer, datec datetime -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_commande_fournisseur_log.sql b/htdocs/install/mysql/tables/llx_commande_fournisseur_log.sql index f12ac7418bd..9bb45f9d326 100644 --- a/htdocs/install/mysql/tables/llx_commande_fournisseur_log.sql +++ b/htdocs/install/mysql/tables/llx_commande_fournisseur_log.sql @@ -28,4 +28,4 @@ create table llx_commande_fournisseur_log fk_statut smallint NOT NULL, fk_user integer NOT NULL, comment varchar(255) NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_commande_fournisseurdet.sql b/htdocs/install/mysql/tables/llx_commande_fournisseurdet.sql index 6e1da1364d8..91914ab66c7 100644 --- a/htdocs/install/mysql/tables/llx_commande_fournisseurdet.sql +++ b/htdocs/install/mysql/tables/llx_commande_fournisseurdet.sql @@ -44,4 +44,4 @@ create table llx_commande_fournisseurdet date_start datetime DEFAULT NULL, -- date debut si service date_end datetime DEFAULT NULL, -- date fin si service info_bits integer DEFAULT 0 -- TVA NPR ou non -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_commandedet.sql b/htdocs/install/mysql/tables/llx_commandedet.sql index e189b942c03..e964fbc2f5e 100644 --- a/htdocs/install/mysql/tables/llx_commandedet.sql +++ b/htdocs/install/mysql/tables/llx_commandedet.sql @@ -50,7 +50,7 @@ create table llx_commandedet special_code integer UNSIGNED DEFAULT 0, -- code pour les lignes speciales rang integer DEFAULT 0, import_key varchar(14) -)type=innodb; +)ENGINE=innodb; -- -- List of codes for special_code diff --git a/htdocs/install/mysql/tables/llx_compta.sql b/htdocs/install/mysql/tables/llx_compta.sql index c9b15918c36..a747c714fb3 100644 --- a/htdocs/install/mysql/tables/llx_compta.sql +++ b/htdocs/install/mysql/tables/llx_compta.sql @@ -31,4 +31,4 @@ create table llx_compta valid tinyint DEFAULT 0, note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_compta_account.sql b/htdocs/install/mysql/tables/llx_compta_account.sql index 626ef9a5d14..16ecb365d6c 100644 --- a/htdocs/install/mysql/tables/llx_compta_account.sql +++ b/htdocs/install/mysql/tables/llx_compta_account.sql @@ -27,4 +27,4 @@ create table llx_compta_account fk_user_author integer, note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_compta_compte_generaux.sql b/htdocs/install/mysql/tables/llx_compta_compte_generaux.sql index 3f1175ce037..bfce896eb19 100644 --- a/htdocs/install/mysql/tables/llx_compta_compte_generaux.sql +++ b/htdocs/install/mysql/tables/llx_compta_compte_generaux.sql @@ -28,4 +28,4 @@ create table llx_compta_compte_generaux note text, UNIQUE(numero) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_const.sql b/htdocs/install/mysql/tables/llx_const.sql index 3b1accea677..eead2907fa2 100644 --- a/htdocs/install/mysql/tables/llx_const.sql +++ b/htdocs/install/mysql/tables/llx_const.sql @@ -35,7 +35,7 @@ create table llx_const visible tinyint DEFAULT 1 NOT NULL, note text, tms timestamp -) type=innodb; +) ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_contrat.sql b/htdocs/install/mysql/tables/llx_contrat.sql index 0d2bc7770de..79b52ba399c 100644 --- a/htdocs/install/mysql/tables/llx_contrat.sql +++ b/htdocs/install/mysql/tables/llx_contrat.sql @@ -42,5 +42,5 @@ create table llx_contrat note text, note_public text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_contratdet.sql b/htdocs/install/mysql/tables/llx_contratdet.sql index 7e94faaabf3..f5987250001 100644 --- a/htdocs/install/mysql/tables/llx_contratdet.sql +++ b/htdocs/install/mysql/tables/llx_contratdet.sql @@ -59,4 +59,4 @@ create table llx_contratdet fk_user_cloture integer, commentaire text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_contratdet_log.sql b/htdocs/install/mysql/tables/llx_contratdet_log.sql index 4402e558b3b..906d0a3e2f4 100644 --- a/htdocs/install/mysql/tables/llx_contratdet_log.sql +++ b/htdocs/install/mysql/tables/llx_contratdet_log.sql @@ -28,4 +28,4 @@ create table llx_contratdet_log fk_user_author integer NOT NULL, commentaire text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_cotisation.sql b/htdocs/install/mysql/tables/llx_cotisation.sql index dfa93b73140..2063a310fb8 100644 --- a/htdocs/install/mysql/tables/llx_cotisation.sql +++ b/htdocs/install/mysql/tables/llx_cotisation.sql @@ -29,4 +29,4 @@ create table llx_cotisation cotisation real, fk_bank integer DEFAULT NULL, note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_deplacement.sql b/htdocs/install/mysql/tables/llx_deplacement.sql index 62aac07ef8f..a99b42859c7 100644 --- a/htdocs/install/mysql/tables/llx_deplacement.sql +++ b/htdocs/install/mysql/tables/llx_deplacement.sql @@ -37,4 +37,4 @@ create table llx_deplacement fk_projet integer DEFAULT 0, note text, note_public text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_document.sql b/htdocs/install/mysql/tables/llx_document.sql index 73d40c79d6e..f0e0a065089 100644 --- a/htdocs/install/mysql/tables/llx_document.sql +++ b/htdocs/install/mysql/tables/llx_document.sql @@ -29,4 +29,4 @@ create table llx_document fk_group integer NULL, permissions char(9) DEFAULT 'rw-rw-rw' -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_document_generator.sql b/htdocs/install/mysql/tables/llx_document_generator.sql index 3e83878bdb5..06af8a78575 100644 --- a/htdocs/install/mysql/tables/llx_document_generator.sql +++ b/htdocs/install/mysql/tables/llx_document_generator.sql @@ -25,4 +25,4 @@ create table llx_document_generator classfile varchar(255) NOT NULL, class varchar(255) NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_document_model.sql b/htdocs/install/mysql/tables/llx_document_model.sql index c7a0fbb4281..e43f4cb118c 100644 --- a/htdocs/install/mysql/tables/llx_document_model.sql +++ b/htdocs/install/mysql/tables/llx_document_model.sql @@ -30,7 +30,7 @@ create table llx_document_model type varchar(20) NOT NULL, libelle varchar(255), description text -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_dolibarr_modules.sql b/htdocs/install/mysql/tables/llx_dolibarr_modules.sql index 6afaaf384f9..463675b10b7 100644 --- a/htdocs/install/mysql/tables/llx_dolibarr_modules.sql +++ b/htdocs/install/mysql/tables/llx_dolibarr_modules.sql @@ -27,6 +27,6 @@ create table llx_dolibarr_modules active_date datetime NOT NULL, active_version varchar(25) NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_domain.sql b/htdocs/install/mysql/tables/llx_domain.sql index ef29da20836..fc998bd6edb 100644 --- a/htdocs/install/mysql/tables/llx_domain.sql +++ b/htdocs/install/mysql/tables/llx_domain.sql @@ -24,5 +24,5 @@ create table llx_domain datec datetime, label varchar(255), note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_don.sql b/htdocs/install/mysql/tables/llx_don.sql index 90af3d1cdd2..294a950d0b1 100644 --- a/htdocs/install/mysql/tables/llx_don.sql +++ b/htdocs/install/mysql/tables/llx_don.sql @@ -47,4 +47,4 @@ create table llx_don note_public text, model_pdf varchar(255), import_key varchar(14) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_ecm_directories.sql b/htdocs/install/mysql/tables/llx_ecm_directories.sql index e9707c90210..5d6d86617e6 100644 --- a/htdocs/install/mysql/tables/llx_ecm_directories.sql +++ b/htdocs/install/mysql/tables/llx_ecm_directories.sql @@ -33,4 +33,4 @@ create table llx_ecm_directories date_m timestamp, fk_user_c integer, fk_user_m integer -) type=innodb; +) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_ecm_documents.sql b/htdocs/install/mysql/tables/llx_ecm_documents.sql index 5981728a1a5..04491e0878c 100644 --- a/htdocs/install/mysql/tables/llx_ecm_documents.sql +++ b/htdocs/install/mysql/tables/llx_ecm_documents.sql @@ -42,4 +42,4 @@ create table llx_ecm_documents crc varchar(32) NOT NULL DEFAULT '', -- checksum cryptkey varchar(50) NOT NULL DEFAULT '', -- crypt key cipher varchar(50) NOT NULL DEFAULT 'twofish' -- crypt cipher -) type=innodb; +) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_element_contact.sql b/htdocs/install/mysql/tables/llx_element_contact.sql index 4da471206bb..46b769b8afc 100644 --- a/htdocs/install/mysql/tables/llx_element_contact.sql +++ b/htdocs/install/mysql/tables/llx_element_contact.sql @@ -31,5 +31,5 @@ create table llx_element_contact element_id int NOT NULL, -- la reference de l'element. fk_c_type_contact int NOT NULL, -- nature du contact. fk_socpeople integer NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_element_element.sql b/htdocs/install/mysql/tables/llx_element_element.sql index 3ec5983b008..19824c860de 100644 --- a/htdocs/install/mysql/tables/llx_element_element.sql +++ b/htdocs/install/mysql/tables/llx_element_element.sql @@ -28,5 +28,5 @@ create table llx_element_element sourcetype varchar(16) NOT NULL, fk_target integer NOT NULL, targettype varchar(16) NOT NULL -) type=innodb; +) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_element_rang.sql b/htdocs/install/mysql/tables/llx_element_rang.sql index 7e0dbb5dead..c0eda58db88 100644 --- a/htdocs/install/mysql/tables/llx_element_rang.sql +++ b/htdocs/install/mysql/tables/llx_element_rang.sql @@ -26,5 +26,5 @@ create table llx_element_rang fk_child integer NOT NULL, childtype varchar(16) NOT NULL, rang integer DEFAULT 0 -) type=innodb; +) ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_entrepot.sql b/htdocs/install/mysql/tables/llx_entrepot.sql index 792607fb10e..8dbbb572f29 100644 --- a/htdocs/install/mysql/tables/llx_entrepot.sql +++ b/htdocs/install/mysql/tables/llx_entrepot.sql @@ -36,4 +36,4 @@ create table llx_entrepot statut tinyint DEFAULT 1, -- 1 open, 0 close valo_pmp float(12,4), -- valoristaion du stock en PMP fk_user_author integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_events.sql b/htdocs/install/mysql/tables/llx_events.sql index 57ba9cd206b..88cf83a3cc3 100644 --- a/htdocs/install/mysql/tables/llx_events.sql +++ b/htdocs/install/mysql/tables/llx_events.sql @@ -35,7 +35,7 @@ create table llx_events ip varchar(32) NOT NULL, -- ip user_agent varchar(255) NULL, -- user agent fk_object integer -- id of related object -) type=innodb; +) ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_expedition.sql b/htdocs/install/mysql/tables/llx_expedition.sql index be36be795b4..70d67c96dbe 100644 --- a/htdocs/install/mysql/tables/llx_expedition.sql +++ b/htdocs/install/mysql/tables/llx_expedition.sql @@ -48,4 +48,4 @@ create table llx_expedition note text, model_pdf varchar(255) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_expeditiondet.sql b/htdocs/install/mysql/tables/llx_expeditiondet.sql index 6bd6e54a437..dbeec277f88 100644 --- a/htdocs/install/mysql/tables/llx_expeditiondet.sql +++ b/htdocs/install/mysql/tables/llx_expeditiondet.sql @@ -27,4 +27,4 @@ create table llx_expeditiondet fk_entrepot integer, -- Entrepot de depart du produit qty real, -- Quantity rang integer DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_export_compta.sql b/htdocs/install/mysql/tables/llx_export_compta.sql index b31e34b7e39..e3e5900fb74 100644 --- a/htdocs/install/mysql/tables/llx_export_compta.sql +++ b/htdocs/install/mysql/tables/llx_export_compta.sql @@ -27,4 +27,4 @@ create table llx_export_compta fk_user integer NOT NULL, note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_export_model.sql b/htdocs/install/mysql/tables/llx_export_model.sql index f041e147463..dcca0174817 100644 --- a/htdocs/install/mysql/tables/llx_export_model.sql +++ b/htdocs/install/mysql/tables/llx_export_model.sql @@ -28,4 +28,4 @@ create table llx_export_model label varchar(50) NOT NULL, type varchar(20) NOT NULL, field text NOT NULL -)type=innodb; \ No newline at end of file +)ENGINE=innodb; \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_extra_fields.sql b/htdocs/install/mysql/tables/llx_extra_fields.sql index 79e1d50aaa3..94f98f85198 100644 --- a/htdocs/install/mysql/tables/llx_extra_fields.sql +++ b/htdocs/install/mysql/tables/llx_extra_fields.sql @@ -34,4 +34,4 @@ create table llx_extra_fields rank integer, assign integer -- ??? -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_extra_fields_options.sql b/htdocs/install/mysql/tables/llx_extra_fields_options.sql index 9ae70176830..16aa83ff534 100644 --- a/htdocs/install/mysql/tables/llx_extra_fields_options.sql +++ b/htdocs/install/mysql/tables/llx_extra_fields_options.sql @@ -28,4 +28,4 @@ create table llx_extra_fields_options rank integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_extra_fields_values.sql b/htdocs/install/mysql/tables/llx_extra_fields_values.sql index f0542420e94..e46eb892913 100644 --- a/htdocs/install/mysql/tables/llx_extra_fields_values.sql +++ b/htdocs/install/mysql/tables/llx_extra_fields_values.sql @@ -33,4 +33,4 @@ create table llx_extra_fields_values fk_user_create integer, fk_user_modif integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_facture.sql b/htdocs/install/mysql/tables/llx_facture.sql index a6c438ba3f0..8c221cb4084 100644 --- a/htdocs/install/mysql/tables/llx_facture.sql +++ b/htdocs/install/mysql/tables/llx_facture.sql @@ -71,4 +71,4 @@ create table llx_facture model_pdf varchar(255), import_key varchar(14) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_facture_fourn.sql b/htdocs/install/mysql/tables/llx_facture_fourn.sql index 9dfb28c164e..272a8f4b4ad 100644 --- a/htdocs/install/mysql/tables/llx_facture_fourn.sql +++ b/htdocs/install/mysql/tables/llx_facture_fourn.sql @@ -64,4 +64,4 @@ create table llx_facture_fourn model_pdf varchar(255), import_key varchar(14) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_facture_fourn_det.sql b/htdocs/install/mysql/tables/llx_facture_fourn_det.sql index 329b37cc8e2..a52d3ed4a8b 100644 --- a/htdocs/install/mysql/tables/llx_facture_fourn_det.sql +++ b/htdocs/install/mysql/tables/llx_facture_fourn_det.sql @@ -43,4 +43,4 @@ create table llx_facture_fourn_det date_start datetime DEFAULT NULL, -- date debut si service date_end datetime DEFAULT NULL, -- date fin si service import_key varchar(14) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_facture_rec.sql b/htdocs/install/mysql/tables/llx_facture_rec.sql index d6388dbd46c..c9891219f4f 100644 --- a/htdocs/install/mysql/tables/llx_facture_rec.sql +++ b/htdocs/install/mysql/tables/llx_facture_rec.sql @@ -54,4 +54,4 @@ create table llx_facture_rec date_last_gen datetime DEFAULT NULL, nb_gen_done integer DEFAULT NULL, nb_gen_max integer DEFAULT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_facturedet.sql b/htdocs/install/mysql/tables/llx_facturedet.sql index 6d57b0ebeef..399dd175311 100644 --- a/htdocs/install/mysql/tables/llx_facturedet.sql +++ b/htdocs/install/mysql/tables/llx_facturedet.sql @@ -52,7 +52,7 @@ create table llx_facturedet special_code integer UNSIGNED DEFAULT 0, -- code pour les lignes speciales rang integer DEFAULT 0, -- ordre d'affichage import_key varchar(14) -)type=innodb; +)ENGINE=innodb; -- -- List of codes for special_code diff --git a/htdocs/install/mysql/tables/llx_facturedet_rec.sql b/htdocs/install/mysql/tables/llx_facturedet_rec.sql index a829199b596..c06074d4709 100644 --- a/htdocs/install/mysql/tables/llx_facturedet_rec.sql +++ b/htdocs/install/mysql/tables/llx_facturedet_rec.sql @@ -44,4 +44,4 @@ create table llx_facturedet_rec total_ttc double(24,8), -- Total TTC de la ligne toute quantity et incluant remise ligne et globale special_code integer UNSIGNED DEFAULT 0, -- code pour les lignes speciales rang integer DEFAULT 0 -- ordre d'affichage -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_fichinter.sql b/htdocs/install/mysql/tables/llx_fichinter.sql index 887db35ae10..08450aa204f 100644 --- a/htdocs/install/mysql/tables/llx_fichinter.sql +++ b/htdocs/install/mysql/tables/llx_fichinter.sql @@ -40,4 +40,4 @@ create table llx_fichinter note_public text, model_pdf varchar(255) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_fichinterdet.sql b/htdocs/install/mysql/tables/llx_fichinterdet.sql index 0498367b5f3..0782e089170 100644 --- a/htdocs/install/mysql/tables/llx_fichinterdet.sql +++ b/htdocs/install/mysql/tables/llx_fichinterdet.sql @@ -27,4 +27,4 @@ create table llx_fichinterdet description text, -- description de la ligne d'intervention duree integer, -- duree de la ligne d'intervention rang integer DEFAULT 0 -- ordre affichage sur la fiche -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_import_model.sql b/htdocs/install/mysql/tables/llx_import_model.sql index facf7546e97..177be65fb88 100644 --- a/htdocs/install/mysql/tables/llx_import_model.sql +++ b/htdocs/install/mysql/tables/llx_import_model.sql @@ -27,4 +27,4 @@ create table llx_import_model label varchar(50) NOT NULL, type varchar(20) NOT NULL, field text NOT NULL -)type=innodb; \ No newline at end of file +)ENGINE=innodb; \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_livraison.sql b/htdocs/install/mysql/tables/llx_livraison.sql index 908480447d1..b446a53a959 100644 --- a/htdocs/install/mysql/tables/llx_livraison.sql +++ b/htdocs/install/mysql/tables/llx_livraison.sql @@ -40,4 +40,4 @@ create table llx_livraison note_public text, model_pdf varchar(255) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_livraisondet.sql b/htdocs/install/mysql/tables/llx_livraisondet.sql index e720eb12bb6..6240a2ed5c0 100644 --- a/htdocs/install/mysql/tables/llx_livraisondet.sql +++ b/htdocs/install/mysql/tables/llx_livraisondet.sql @@ -30,4 +30,4 @@ create table llx_livraisondet subprice double(24,8) DEFAULT 0, -- prix unitaire total_ht double(24,8) DEFAULT 0, -- Total HT de la ligne toute quantite rang integer DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_mailing.sql b/htdocs/install/mysql/tables/llx_mailing.sql index f62838ce10a..f0f8e10267a 100644 --- a/htdocs/install/mysql/tables/llx_mailing.sql +++ b/htdocs/install/mysql/tables/llx_mailing.sql @@ -51,7 +51,7 @@ create table llx_mailing joined_file2 varchar(255), joined_file3 varchar(255), joined_file4 varchar(255) -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_mailing_cibles.sql b/htdocs/install/mysql/tables/llx_mailing_cibles.sql index a9c2483a121..2f6d3937829 100644 --- a/htdocs/install/mysql/tables/llx_mailing_cibles.sql +++ b/htdocs/install/mysql/tables/llx_mailing_cibles.sql @@ -34,5 +34,5 @@ create table llx_mailing_cibles source_id integer, source_type varchar(16), date_envoi datetime -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_menu.sql b/htdocs/install/mysql/tables/llx_menu.sql index d304729a23b..0bbc733895f 100644 --- a/htdocs/install/mysql/tables/llx_menu.sql +++ b/htdocs/install/mysql/tables/llx_menu.sql @@ -41,7 +41,7 @@ CREATE TABLE llx_menu enabled varchar(255) NULL default '1', -- Condition to show or hide usertype integer NOT NULL default '0', -- 0 if menu for all users, 1 for external only, 2 for internal only tms timestamp -) type=innodb; +) ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_notify.sql b/htdocs/install/mysql/tables/llx_notify.sql index 8c3d917aabc..73dc6489461 100644 --- a/htdocs/install/mysql/tables/llx_notify.sql +++ b/htdocs/install/mysql/tables/llx_notify.sql @@ -30,4 +30,4 @@ create table llx_notify objet_type varchar(24) NOT NULL, objet_id integer NOT NULL, email varchar(255) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_notify_def.sql b/htdocs/install/mysql/tables/llx_notify_def.sql index cd2ec57e3f6..0b42446740b 100644 --- a/htdocs/install/mysql/tables/llx_notify_def.sql +++ b/htdocs/install/mysql/tables/llx_notify_def.sql @@ -28,4 +28,4 @@ create table llx_notify_def fk_contact integer, fk_user integer, type varchar(16) DEFAULT 'email' -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_paiement.sql b/htdocs/install/mysql/tables/llx_paiement.sql index ce7e2e6ff67..803dc1c2148 100644 --- a/htdocs/install/mysql/tables/llx_paiement.sql +++ b/htdocs/install/mysql/tables/llx_paiement.sql @@ -39,4 +39,4 @@ create table llx_paiement statut smallint DEFAULT 0 NOT NULL, fk_export_compta integer DEFAULT 0 NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_paiement_facture.sql b/htdocs/install/mysql/tables/llx_paiement_facture.sql index 3f4cfe7f65a..0e95a561df9 100644 --- a/htdocs/install/mysql/tables/llx_paiement_facture.sql +++ b/htdocs/install/mysql/tables/llx_paiement_facture.sql @@ -24,4 +24,4 @@ create table llx_paiement_facture fk_paiement integer, fk_facture integer, amount real DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_paiementcharge.sql b/htdocs/install/mysql/tables/llx_paiementcharge.sql index a076835bdfd..e99f8aa66cb 100755 --- a/htdocs/install/mysql/tables/llx_paiementcharge.sql +++ b/htdocs/install/mysql/tables/llx_paiementcharge.sql @@ -30,7 +30,7 @@ create table llx_paiementcharge num_paiement varchar(50), note text, fk_bank integer NOT NULL, - fk_user_creat integer, -- utilisateur qui a créé l'info - fk_user_modif integer -- utilisateur qui a modifié l'info + fk_user_creat integer, -- utilisateur qui a cr�� l'info + fk_user_modif integer -- utilisateur qui a modifi� l'info -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_paiementfourn.sql b/htdocs/install/mysql/tables/llx_paiementfourn.sql index a3c542ea7e2..e62275df23d 100644 --- a/htdocs/install/mysql/tables/llx_paiementfourn.sql +++ b/htdocs/install/mysql/tables/llx_paiementfourn.sql @@ -32,4 +32,4 @@ create table llx_paiementfourn note text, fk_bank integer NOT NULL, statut smallint NOT NULL DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_paiementfourn_facturefourn.sql b/htdocs/install/mysql/tables/llx_paiementfourn_facturefourn.sql index 352c26e156e..ee7314a82a0 100644 --- a/htdocs/install/mysql/tables/llx_paiementfourn_facturefourn.sql +++ b/htdocs/install/mysql/tables/llx_paiementfourn_facturefourn.sql @@ -26,4 +26,4 @@ create table llx_paiementfourn_facturefourn fk_paiementfourn INTEGER DEFAULT NULL, fk_facturefourn INTEGER DEFAULT NULL, amount DOUBLE DEFAULT '0' -)type=innodb; \ No newline at end of file +)ENGINE=innodb; \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_prelevement_bons.sql b/htdocs/install/mysql/tables/llx_prelevement_bons.sql index c7a06cfcaf3..1aba5d286d1 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_bons.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_bons.sql @@ -41,4 +41,4 @@ create table llx_prelevement_bons date_credit datetime, -- date de credit sur le compte fk_user_credit integer -- user qui a remonte l'info de credit -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_prelevement_facture.sql b/htdocs/install/mysql/tables/llx_prelevement_facture.sql index 2a688a073f0..1e721e86788 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_facture.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_facture.sql @@ -24,4 +24,4 @@ create table llx_prelevement_facture fk_facture integer NOT NULL, fk_prelevement_lignes integer NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_prelevement_facture_demande.sql b/htdocs/install/mysql/tables/llx_prelevement_facture_demande.sql index 589c92073d8..d4ea3ad5535 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_facture_demande.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_facture_demande.sql @@ -35,4 +35,4 @@ create table llx_prelevement_facture_demande number varchar(255), cle_rib varchar(5) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_prelevement_lignes.sql b/htdocs/install/mysql/tables/llx_prelevement_lignes.sql index 071a0150891..854ec6e826e 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_lignes.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_lignes.sql @@ -34,4 +34,4 @@ create table llx_prelevement_lignes note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_prelevement_notifications.sql b/htdocs/install/mysql/tables/llx_prelevement_notifications.sql index 90a4cf0e343..79fef1724e2 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_notifications.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_notifications.sql @@ -33,4 +33,4 @@ create table llx_prelevement_notifications fk_user integer NOT NULL, action varchar(32) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_prelevement_rejet.sql b/htdocs/install/mysql/tables/llx_prelevement_rejet.sql index cb59f828ef5..f1e90520593 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_rejet.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_rejet.sql @@ -29,4 +29,4 @@ create table llx_prelevement_rejet note text, afacturer tinyint default 0, fk_facture integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product.sql b/htdocs/install/mysql/tables/llx_product.sql index 9d8c826743a..31ef73d0059 100644 --- a/htdocs/install/mysql/tables/llx_product.sql +++ b/htdocs/install/mysql/tables/llx_product.sql @@ -73,4 +73,4 @@ create table llx_product finished tinyint DEFAULT NULL, hidden tinyint DEFAULT 0, -- Need permission see also hidden products import_key varchar(14) -- Import key -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product_association.sql b/htdocs/install/mysql/tables/llx_product_association.sql index bf540e3cb38..44a301a2db7 100755 --- a/htdocs/install/mysql/tables/llx_product_association.sql +++ b/htdocs/install/mysql/tables/llx_product_association.sql @@ -25,5 +25,5 @@ create table llx_product_association fk_product_pere integer NOT NULL DEFAULT 0, -- id du produit maitre fk_product_fils integer NOT NULL DEFAULT 0, -- id du sous-produit qty double NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product_ca.sql b/htdocs/install/mysql/tables/llx_product_ca.sql index f252515fe54..237b5c23030 100644 --- a/htdocs/install/mysql/tables/llx_product_ca.sql +++ b/htdocs/install/mysql/tables/llx_product_ca.sql @@ -25,4 +25,4 @@ create table llx_product_ca year smallint UNSIGNED, ca_genere float, UNIQUE (fk_product, year) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product_fournisseur.sql b/htdocs/install/mysql/tables/llx_product_fournisseur.sql index 479d6cc3eb9..672374961d5 100644 --- a/htdocs/install/mysql/tables/llx_product_fournisseur.sql +++ b/htdocs/install/mysql/tables/llx_product_fournisseur.sql @@ -30,7 +30,7 @@ create table llx_product_fournisseur ref_fourn varchar(30), entity integer DEFAULT 1 NOT NULL, -- multi company id fk_user_author integer -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql b/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql index d277277baf9..f21fed4d1af 100644 --- a/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql +++ b/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql @@ -30,4 +30,4 @@ create table llx_product_fournisseur_price unitprice double(24,8) DEFAULT 0, fk_user integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product_fournisseur_price_log.sql b/htdocs/install/mysql/tables/llx_product_fournisseur_price_log.sql index b3078f87924..a501b4db4b6 100644 --- a/htdocs/install/mysql/tables/llx_product_fournisseur_price_log.sql +++ b/htdocs/install/mysql/tables/llx_product_fournisseur_price_log.sql @@ -28,4 +28,4 @@ create table llx_product_fournisseur_price_log quantity double, fk_user integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product_lang.sql b/htdocs/install/mysql/tables/llx_product_lang.sql index 4464fcda7fb..e12dbc6fb12 100644 --- a/htdocs/install/mysql/tables/llx_product_lang.sql +++ b/htdocs/install/mysql/tables/llx_product_lang.sql @@ -28,4 +28,4 @@ create table llx_product_lang label varchar(255) NOT NULL, description text, note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product_price.sql b/htdocs/install/mysql/tables/llx_product_price.sql index d20fdb84f34..1a83bee6508 100644 --- a/htdocs/install/mysql/tables/llx_product_price.sql +++ b/htdocs/install/mysql/tables/llx_product_price.sql @@ -37,5 +37,5 @@ create table llx_product_price localtax2_tx double(6,3) DEFAULT 0, fk_user_author integer, tosell tinyint DEFAULT 1 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_product_stock.sql b/htdocs/install/mysql/tables/llx_product_stock.sql index 8153b6447ff..ec2bb01863b 100644 --- a/htdocs/install/mysql/tables/llx_product_stock.sql +++ b/htdocs/install/mysql/tables/llx_product_stock.sql @@ -27,5 +27,5 @@ create table llx_product_stock fk_entrepot integer NOT NULL, reel real, -- physical stock pmp double(24,8) default 0 NOT NULL -- PMP value for product in this warehouse -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_projet.sql b/htdocs/install/mysql/tables/llx_projet.sql index 24efed56de4..63b28ac8410 100644 --- a/htdocs/install/mysql/tables/llx_projet.sql +++ b/htdocs/install/mysql/tables/llx_projet.sql @@ -37,4 +37,4 @@ create table llx_projet note_private text, note_public text, model_pdf varchar(255) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_projet_task.sql b/htdocs/install/mysql/tables/llx_projet_task.sql index eb4b87803ca..a1619df5cb5 100644 --- a/htdocs/install/mysql/tables/llx_projet_task.sql +++ b/htdocs/install/mysql/tables/llx_projet_task.sql @@ -40,4 +40,4 @@ create table llx_projet_task note_private text, note_public text, rang integer DEFAULT 0 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_projet_task_time.sql b/htdocs/install/mysql/tables/llx_projet_task_time.sql index eb1e655bf1e..309c60b660f 100644 --- a/htdocs/install/mysql/tables/llx_projet_task_time.sql +++ b/htdocs/install/mysql/tables/llx_projet_task_time.sql @@ -26,4 +26,4 @@ create table llx_projet_task_time task_duration double, fk_user integer, note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_propal.sql b/htdocs/install/mysql/tables/llx_propal.sql index f412eefcaa0..3498686059f 100644 --- a/htdocs/install/mysql/tables/llx_propal.sql +++ b/htdocs/install/mysql/tables/llx_propal.sql @@ -60,4 +60,4 @@ create table llx_propal model_pdf varchar(255), date_livraison date DEFAULT NULL, -- delivery date fk_adresse_livraison integer -- delivery address (deprecated) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_propaldet.sql b/htdocs/install/mysql/tables/llx_propaldet.sql index 3066579c041..57b252ed2ea 100644 --- a/htdocs/install/mysql/tables/llx_propaldet.sql +++ b/htdocs/install/mysql/tables/llx_propaldet.sql @@ -52,7 +52,7 @@ create table llx_propaldet special_code integer UNSIGNED DEFAULT 0, -- code pour les lignes speciales rang integer DEFAULT 0 -- ordre affichage sur la propal -)type=innodb; +)ENGINE=innodb; -- -- Liste des codes pour special_code diff --git a/htdocs/install/mysql/tables/llx_rights_def.sql b/htdocs/install/mysql/tables/llx_rights_def.sql index 6b8abdfe9d1..00268974476 100644 --- a/htdocs/install/mysql/tables/llx_rights_def.sql +++ b/htdocs/install/mysql/tables/llx_rights_def.sql @@ -29,7 +29,7 @@ create table llx_rights_def subperms varchar(50), type varchar(1), bydefault tinyint DEFAULT 0 -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_societe.sql b/htdocs/install/mysql/tables/llx_societe.sql index d2168585a90..19cb7c32f33 100644 --- a/htdocs/install/mysql/tables/llx_societe.sql +++ b/htdocs/install/mysql/tables/llx_societe.sql @@ -83,4 +83,4 @@ create table llx_societe default_lang varchar(6), -- default language canvas varchar(32), -- type of canvas if used (null by default) import_key varchar(14) -- import key -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_societe_address.sql b/htdocs/install/mysql/tables/llx_societe_address.sql index 3f4f70e5c7e..f53599483a4 100644 --- a/htdocs/install/mysql/tables/llx_societe_address.sql +++ b/htdocs/install/mysql/tables/llx_societe_address.sql @@ -36,4 +36,4 @@ create table llx_societe_address note text, -- fk_user_creat integer, fk_user_modif integer -)type=innodb; \ No newline at end of file +)ENGINE=innodb; \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_societe_commerciaux.sql b/htdocs/install/mysql/tables/llx_societe_commerciaux.sql index 07c5266f9a9..db4cdd2581c 100644 --- a/htdocs/install/mysql/tables/llx_societe_commerciaux.sql +++ b/htdocs/install/mysql/tables/llx_societe_commerciaux.sql @@ -24,5 +24,5 @@ create table llx_societe_commerciaux rowid integer AUTO_INCREMENT PRIMARY KEY, fk_soc integer, fk_user integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_societe_log.sql b/htdocs/install/mysql/tables/llx_societe_log.sql index 443a1f4efc8..8dc4636c87e 100644 --- a/htdocs/install/mysql/tables/llx_societe_log.sql +++ b/htdocs/install/mysql/tables/llx_societe_log.sql @@ -28,4 +28,4 @@ create table llx_societe_log fk_user integer, -- Ne pas mettre de controle d'integrite sur les tables de logs author varchar(30), label varchar(128) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_societe_prices.sql b/htdocs/install/mysql/tables/llx_societe_prices.sql index f96f4b14cd8..d500fc1b7cb 100644 --- a/htdocs/install/mysql/tables/llx_societe_prices.sql +++ b/htdocs/install/mysql/tables/llx_societe_prices.sql @@ -26,4 +26,4 @@ create table llx_societe_prices datec datetime, fk_user_author integer, price_level tinyint DEFAULT 1 -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_societe_remise.sql b/htdocs/install/mysql/tables/llx_societe_remise.sql index bf25afb7a50..a3f229105a1 100644 --- a/htdocs/install/mysql/tables/llx_societe_remise.sql +++ b/htdocs/install/mysql/tables/llx_societe_remise.sql @@ -26,9 +26,9 @@ create table llx_societe_remise fk_soc integer NOT NULL, tms timestamp, datec datetime, -- creation date - fk_user_author integer, -- utilisateur qui a créé l'info - remise_client real DEFAULT 0, -- remise systématique pour le client + fk_user_author integer, -- utilisateur qui a cr�� l'info + remise_client real DEFAULT 0, -- remise syst�matique pour le client note text -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_societe_remise_except.sql b/htdocs/install/mysql/tables/llx_societe_remise_except.sql index 0aa9f7b7050..8dbe7797e61 100644 --- a/htdocs/install/mysql/tables/llx_societe_remise_except.sql +++ b/htdocs/install/mysql/tables/llx_societe_remise_except.sql @@ -35,4 +35,4 @@ create table llx_societe_remise_except fk_facture integer, fk_facture_source integer, description varchar(255) NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_societe_rib.sql b/htdocs/install/mysql/tables/llx_societe_rib.sql index d5c7a3ba5a9..fb65e9b7e84 100644 --- a/htdocs/install/mysql/tables/llx_societe_rib.sql +++ b/htdocs/install/mysql/tables/llx_societe_rib.sql @@ -38,4 +38,4 @@ create table llx_societe_rib adresse_proprio varchar(255) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_socpeople.sql b/htdocs/install/mysql/tables/llx_socpeople.sql index efe3d496456..ca4206eb6fc 100644 --- a/htdocs/install/mysql/tables/llx_socpeople.sql +++ b/htdocs/install/mysql/tables/llx_socpeople.sql @@ -50,4 +50,4 @@ create table llx_socpeople default_lang varchar(6), canvas varchar(32), -- type of canvas if used (null by default) import_key varchar(14) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_stock_mouvement.sql b/htdocs/install/mysql/tables/llx_stock_mouvement.sql index 7f40d6c7496..8714e7e4a07 100644 --- a/htdocs/install/mysql/tables/llx_stock_mouvement.sql +++ b/htdocs/install/mysql/tables/llx_stock_mouvement.sql @@ -31,4 +31,4 @@ create table llx_stock_mouvement type_mouvement smallint, fk_user_author integer, label varchar(128) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_texts.sql b/htdocs/install/mysql/tables/llx_texts.sql index 18f12028695..7d3b0eecd98 100644 --- a/htdocs/install/mysql/tables/llx_texts.sql +++ b/htdocs/install/mysql/tables/llx_texts.sql @@ -33,4 +33,4 @@ create table llx_texts content text, -- Texte si modele texte tms timestamp -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_tva.sql b/htdocs/install/mysql/tables/llx_tva.sql index 03522fb4e47..8bdd7193d1a 100644 --- a/htdocs/install/mysql/tables/llx_tva.sql +++ b/htdocs/install/mysql/tables/llx_tva.sql @@ -32,7 +32,7 @@ create table llx_tva fk_bank integer, fk_user_creat integer, -- utilisateur qui a cree l'info fk_user_modif integer -- utilisateur qui a modifi� l'info -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_user.sql b/htdocs/install/mysql/tables/llx_user.sql index 0b8bb558f20..77141b33d12 100644 --- a/htdocs/install/mysql/tables/llx_user.sql +++ b/htdocs/install/mysql/tables/llx_user.sql @@ -54,7 +54,7 @@ create table llx_user statut tinyint DEFAULT 1, photo varchar(255), -- filename or url of photo lang varchar(6) -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_user_alert.sql b/htdocs/install/mysql/tables/llx_user_alert.sql index 043c216e631..d78db14c30b 100644 --- a/htdocs/install/mysql/tables/llx_user_alert.sql +++ b/htdocs/install/mysql/tables/llx_user_alert.sql @@ -25,4 +25,4 @@ create table llx_user_alert type integer, fk_contact integer, -- pointe sur llx_socpeople fk_user integer -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_user_clicktodial.sql b/htdocs/install/mysql/tables/llx_user_clicktodial.sql index 2e372abf829..68e46fd120d 100644 --- a/htdocs/install/mysql/tables/llx_user_clicktodial.sql +++ b/htdocs/install/mysql/tables/llx_user_clicktodial.sql @@ -28,4 +28,4 @@ create table llx_user_clicktodial pass varchar(64), poste varchar(20) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_user_param.sql b/htdocs/install/mysql/tables/llx_user_param.sql index 666ec20b54b..838f502bfdb 100644 --- a/htdocs/install/mysql/tables/llx_user_param.sql +++ b/htdocs/install/mysql/tables/llx_user_param.sql @@ -26,7 +26,7 @@ create table llx_user_param entity integer DEFAULT 1 NOT NULL, -- multi company id param varchar(64) NOT NULL, value varchar(255) NOT NULL -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_user_rights.sql b/htdocs/install/mysql/tables/llx_user_rights.sql index 7d6c1e1c2fd..f771be5ef5a 100644 --- a/htdocs/install/mysql/tables/llx_user_rights.sql +++ b/htdocs/install/mysql/tables/llx_user_rights.sql @@ -23,5 +23,5 @@ create table llx_user_rights rowid integer AUTO_INCREMENT PRIMARY KEY, fk_user integer NOT NULL, fk_id integer NOT NULL -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_usergroup.sql b/htdocs/install/mysql/tables/llx_usergroup.sql index bd37ee0e10b..8037c9cd7e5 100644 --- a/htdocs/install/mysql/tables/llx_usergroup.sql +++ b/htdocs/install/mysql/tables/llx_usergroup.sql @@ -28,7 +28,7 @@ create table llx_usergroup datec datetime, tms timestamp, note text -)type=innodb; +)ENGINE=innodb; -- -- List of codes for the field entity diff --git a/htdocs/install/mysql/tables/llx_usergroup_rights.sql b/htdocs/install/mysql/tables/llx_usergroup_rights.sql index 5db65803df1..dca8e80f856 100644 --- a/htdocs/install/mysql/tables/llx_usergroup_rights.sql +++ b/htdocs/install/mysql/tables/llx_usergroup_rights.sql @@ -25,5 +25,5 @@ create table llx_usergroup_rights fk_id integer NOT NULL, UNIQUE(fk_usergroup,fk_id) -)type=innodb; +)ENGINE=innodb; diff --git a/htdocs/install/mysql/tables/llx_usergroup_user.sql b/htdocs/install/mysql/tables/llx_usergroup_user.sql index 9795504ad8e..d740e03e24c 100644 --- a/htdocs/install/mysql/tables/llx_usergroup_user.sql +++ b/htdocs/install/mysql/tables/llx_usergroup_user.sql @@ -25,4 +25,4 @@ create table llx_usergroup_user fk_usergroup integer NOT NULL, UNIQUE(fk_user,fk_usergroup) -)type=innodb; +)ENGINE=innodb;