diff --git a/lib/Migration/Version2006Date20170808154933.php b/lib/Migration/Version2006Date20170808154933.php index d71005d25..a0f9cb42e 100644 --- a/lib/Migration/Version2006Date20170808154933.php +++ b/lib/Migration/Version2006Date20170808154933.php @@ -106,7 +106,6 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op 'default' => 0, ]); $table->setPrimaryKey(['activity_id']); - $table->addIndex(['timestamp'], 'activity_time'); $table->addIndex(['affecteduser', 'timestamp'], 'activity_user_time'); $table->addIndex(['affecteduser', 'user', 'timestamp'], 'activity_filter_by'); // FIXME Fixed install, see Version2006Date20170808155040: $table->addIndex(['affecteduser', 'app', 'timestamp'], 'activity_filter_app'); diff --git a/lib/Migration/Version2007Date20181107114613.php b/lib/Migration/Version2007Date20181107114613.php index a40497d8b..5fcc8c306 100644 --- a/lib/Migration/Version2007Date20181107114613.php +++ b/lib/Migration/Version2007Date20181107114613.php @@ -55,10 +55,6 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt ]); } - if (!$table->hasIndex('activity_time')) { - $table->addIndex(['timestamp'], 'activity_time'); - } - if (!$table->hasIndex('activity_object')) { $table->addIndex(['object_type', 'object_id'], 'activity_object'); }