Skip to content
Snippets Groups Projects
Commit 3bfd006e authored by Sebastien ANDRE's avatar Sebastien ANDRE
Browse files

Merge branch...

Merge branch 'hotline#128644_augmenter_la_taille_du_champ_mysql_du_libelle_des_genres' into 'hotline'

hotline: #128644 : Codif genre, change libelle size to 250 in mysql

See merge request !4130
parents eab68b3c 4679179e
Branches
Tags
2 merge requests!4137Master,!4130hotline: #128644 : Codif genre, change libelle size to 250 in mysql
Pipeline #14111 passed with stage
in 48 minutes and 52 seconds
- ticket #128644 : Codification Genre : Augmenter la taille du libellé
\ No newline at end of file
<?php
$adapter = Zend_Db_Table::getDefaultAdapter();
try {
$adapter->query("alter table `codif_genre` modify `libelle` varchar(255)");
} catch(Exception $e) {
}
......@@ -3896,3 +3896,20 @@ class UpgradeDB_411_Test extends UpgradeDBTestCase {
$this->assertFieldType('album_usage_report', $field, $type);
}
}
/* hotline: #128644 */
class UpgradeDB_412_Test extends UpgradeDBTestCase {
public function prepare() {
$this->silentQuery('ALTER TABLE `codif_genre` MODIFY `libelle` varchar(50)');
}
/** @test */
public function tableCodifGenreShouldHaveColumnLibelleWithTypeVarchar255() {
$this->assertFieldType('codif_genre', 'libelle', 'varchar(255)');
}
}
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