Skip to content
Snippets Groups Projects
Commit 4df55cb3 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline_#20677_can_not_save_too_many_matiere_in_domain push new sql patch to...

hotline_#20677_can_not_save_too_many_matiere_in_domain push new sql patch to update table catalogue with text instead of varchar 100
parent db22c64e
Branches
Tags
4 merge requests!715Master,!664report fix from stable to wip,!663Stable,!656Hotline #20677 can not save too many matiere in domain
- ticket : #20677
- Correction de la table Catalogue qui ne permettait pas d'enregistrer des trop grandes listes de critères d'indexation.
\ No newline at end of file
<?php
// Constantes
error_reporting(E_ERROR | E_PARSE);
define("PATCH_LEVEL","228");
define("PATCH_LEVEL","229");
define("APPLI","cosmogramme");
define("COSMOPATH", "/var/www/html/vhosts/opac2/www/htdocs");
......
<?php
$adapter = Zend_Registry::get('sql');
$adapter->query('ALTER TABLE catalogue MODIFY libelle VARCHAR(255)');
$adapter->query('ALTER TABLE catalogue MODIFY matiere TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY genre TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY section TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY tags TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY interet TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY langue TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY annexe TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY emplacement TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY auteur TEXT');
$adapter->query('ALTER TABLE catalogue MODIFY bibliotheque TEXT');
?>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment