aboutsummaryrefslogtreecommitdiff
path: root/db/migrations/1.234_add_mkdate_to_statusgruppe_user.php
blob: 92d73cc54c59cd07b86b602d9170ece75074da06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
class AddMkdateToStatusgruppeUser extends Migration
{
    public function up()
    {
        $query = "ALTER TABLE `statusgruppe_user`
                  ADD COLUMN `mkdate` INT(11) UNSIGNED NULL DEFAULT NULL";
        DBManager::get()->exec($query);
    }

    public function down()
    {
        $query = "ALTER TABLE `statusgruppe_user`
                  DROP COLUMN `mkdate`";
        DBManager::get()->exec($query);
    }
}