1<?php 2class HordePermsUpgradeParentNull extends Horde_Db_Migration_Base 3{ 4 public function up() 5 { 6 $this->changeColumn('horde_perms', 'perm_parents', 'string', array('limit' => 255, 'null' => true)); 7 } 8 9 public function down() 10 { 11 $this->changeColumn('horde_perms', 'perm_parents', 'string', array('limit' => 255, 'null' => false)); 12 } 13 14}