Fixed Notification Migrations

This commit is contained in:
Lucas Bartholemy 2015-07-15 15:29:58 +02:00
parent 0226ca1044
commit 47f2b7a2b2

View File

@ -38,7 +38,6 @@ class Migration extends \yii\db\Migration
$this->updateSilent('file', ['object_model' => $newClass], ['object_model' => $oldClass]);
$this->updateSilent('like', ['object_model' => $newClass], ['object_model' => $oldClass]);
$this->updateSilent('notification', ['source_class' => $newClass], ['source_class' => $oldClass]);
$this->updateSilent('notification', ['obsolete_target_object_model' => $newClass], ['obsolete_target_object_model' => $oldClass]);
$this->updateSilent('user_mentioning', ['object_model' => $newClass], ['object_model' => $oldClass]);
$this->updateSilent('user_follow', ['object_model' => $newClass], ['object_model' => $oldClass]);
$this->updateSilent('wall', ['object_model' => $newClass], ['object_model' => $oldClass]);