blob: a46fb69bf0df82663182af36ec3d3da63aa1facc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php
# refers to https://develop.studip.de/trac/ticket/2568
class Tic2568CommentInternal extends Migration
{
/**
* short description of this migration
*/
function description()
{
return 'adds to column comment_internal to the table resources_assign';
}
/**
* perform this migration
*/
function up()
{
DBManager::get()->exec("ALTER TABLE `resources_assign` ADD `comment_internal` TEXT NULL DEFAULT NULL");
}
/**
* revert this migration
*/
function down()
{
DBManager::get()->exec("ALTER TABLE `resources_assign` DROP COLUMN `comment_internal`");
}
}
|