ALTER TABLE `trights` ADD `ticket_type_mandatory` INT(1) NOT NULL COMMENT 'Oblige la saisie du champ type dans le ticket' AFTER `ticket_type_service_limit`;
ALTER TABLE `trights` ADD `ticket_cat_mandatory` INT(1) NOT NULL COMMENT 'Oblige la saisie du champ catégorie' AFTER `ticket_cat_actions`;
ALTER TABLE `tusers` CHANGE `ip` `ip` VARCHAR(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
ALTER TABLE `tassets_iface` CHANGE `ip` `ip` VARCHAR(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
ALTER TABLE `tassets_network` CHANGE `network` `network` VARCHAR(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
ALTER TABLE `tassets_network` CHANGE `netmask` `netmask` VARCHAR(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
ALTER TABLE `tparameters` ADD `mail_template` VARCHAR(50) NOT NULL AFTER `mail_newticket_address`;
UPDATE `tparameters` SET `mail_template`="default.htm";
UPDATE `tparameters` SET `mail_template`="default_place.htm" WHERE ticket_places='1';
ALTER TABLE `trights` ADD `ticket_type_mandatory` INT(1) NOT NULL COMMENT 'Oblige la saisie du champ type dans le ticket' AFTER `ticket_type_service_limit`
MySQL a répondu : Documentation
#1060 - Nom du champ 'ticket_type_mandatory' déjà utilisé
ALTER TABLE `tparameters` ADD `mail_template` VARCHAR(50) NOT NULL AFTER `mail_newticket_address`;
UPDATE `tparameters` SET `mail_template`="default.htm";
UPDATE `tparameters` SET `mail_template`="default_place.htm" WHERE ticket_places='1';
c'est très étrange le script "update_3.1.44_to_3.1.45.sql" semble avoir été partiellement exécuté, je vous invite à verifier en base de données que les modifications suivantes ont bien été appliquées :
ALTER TABLE `trights` ADD `ticket_cat_mandatory` INT(1) NOT NULL COMMENT 'Oblige la saisie du champ catégorie' AFTER `ticket_cat_actions`;
ALTER TABLE `tusers` CHANGE `ip` `ip` VARCHAR(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
ALTER TABLE `tassets_iface` CHANGE `ip` `ip` VARCHAR(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
ALTER TABLE `tassets_network` CHANGE `network` `network` VARCHAR(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;
ALTER TABLE `tassets_network` CHANGE `netmask` `netmask` VARCHAR(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL;