diff --git a/mnemo/migration/8_mnemo_fix_desc_size.php b/mnemo/migration/8_mnemo_fix_desc_size.php new file mode 100644 index 00000000000..f79f13b8a73 --- /dev/null +++ b/mnemo/migration/8_mnemo_fix_desc_size.php @@ -0,0 +1,39 @@ + + * @category Horde + * @license http://www.horde.org/licenses/gpl GPL + * @package Mnemo + */ + +/** + * Fixes the length on the memo_desc column. + * + * @author Michael J Rubinsky + * @category Horde + * @license http://www.horde.org/licenses/gpl GPL + * @package Mnemo + */ +class MnemoFixDescSize extends Horde_Db_Migration_Base +{ + /** + * Upgrade. + */ + public function up() + { + $t->column('memo_desc', 'string', array('limit' => 255, 'null' => false)); + } + + /** + * Downgrade + */ + public function down() + { + $t->column('memo_desc', 'string', array('limit' => 64, 'null' => false)); + } +}