Commit 93a4932e authored by Henri-Damien LAURENT's avatar Henri-Damien LAURENT
Browse files

Merge branch 'hotline'

parents ed944082 3bfd006e
- 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)');
}
}
Markdown is supported
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