Skip to content

Commit 8a242d7

Browse files
committed
Fix indexes rollback
1 parent 6746552 commit 8a242d7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/database/migrations/2015_04_12_171949_add_indexes.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ public function up()
3636
public function down()
3737
{
3838
Schema::table('forum_threads', function (Blueprint $table) {
39-
$table->dropIndex('author_id');
40-
$table->dropIndex('most_recent_reply_id');
41-
$table->dropIndex('solution_reply_id');
39+
$table->dropIndex(['author_id']);
40+
$table->dropIndex(['most_recent_reply_id']);
41+
$table->dropIndex(['solution_reply_id']);
4242
});
4343

4444
Schema::table('forum_replies', function (Blueprint $table) {
45-
$table->dropIndex('author_id');
46-
$table->dropIndex('thread_id');
45+
$table->dropIndex(['author_id']);
46+
$table->dropIndex(['thread_id']);
4747
});
4848

4949
Schema::table('comments', function (Blueprint $table) {
50-
$table->dropIndex('author_id');
50+
$table->dropIndex(['author_id']);
5151
});
5252
}
5353
}

0 commit comments

Comments
 (0)