blob: 70c66558eb7d7e154adcd83b055f290cf0402f6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
class AddIndexBlubberCommentsMkdate extends Migration
{
public function description()
{
return 'Adds index for mkdate to blubber_comments';
}
public function up()
{
DBManager::get()->exec("ALTER TABLE `blubber_comments` ADD INDEX mkdate (`mkdate`)");
}
public function down()
{
DBManager::get()->exec("ALTER TABLE `blubber_comments` DROP INDEX `mkdate`");
}
}
|