blob: 19e32aeb1ee0a1590ac47cbb735702dbf6e9c78a (
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
|
<?php
class DialogFromNotification extends Migration
{
public function description()
{
return 'It is now possible for a personal notification to be opened as a dialog.';
}
public function up()
{
DBManager::get()->exec("
ALTER TABLE personal_notifications
ADD `dialog` TINYINT NOT NULL DEFAULT '0' AFTER `avatar`
");
}
public function down()
{
DBManager::get()->exec("
ALTER TABLE personal_notifications
DROP `dialog`
");
}
}
|