/usr/share/php/data/Horde_Perms/migration/2_horde_perms_upgrade_autoincrement.php is in php-horde-perms 2.1.7-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?php
class HordePermsUpgradeAutoIncrement extends Horde_Db_Migration_Base
{
public function up()
{
$this->changeColumn('horde_perms', 'perm_id', 'autoincrementKey');
try {
$this->dropTable('horde_perms_seq');
} catch (Horde_Db_Exception $e) {
}
}
public function down()
{
$this->changeColumn('horde_perms', 'perm_id', 'integer', array('null' => false));
}
}
|