blob: 87d6ddb084537f4195b158d361053b03279d5869 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
class StatusgruppeDescription extends Migration
{
public function description()
{
return 'add optional description to status groups';
}
public function up()
{
$db = DBManager::get();
$db->exec('ALTER TABLE statusgruppen ADD description TEXT DEFAULT NULL AFTER name');
}
public function down()
{
$db = DBManager::get();
$db->exec('ALTER TABLE statusgruppen DROP description');
}
}
|