From 3c6ddffe8bf085426f98b753a7678f5c966cf1df Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 13 Feb 2019 16:44:58 -0700 Subject: [PATCH] Update migration --- ...2019_02_13_221138_add_soft_delete_indexes.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/database/migrations/2019_02_13_221138_add_soft_delete_indexes.php b/database/migrations/2019_02_13_221138_add_soft_delete_indexes.php index ed10b82c..3795e6b6 100644 --- a/database/migrations/2019_02_13_221138_add_soft_delete_indexes.php +++ b/database/migrations/2019_02_13_221138_add_soft_delete_indexes.php @@ -54,35 +54,35 @@ class AddSoftDeleteIndexes extends Migration public function down() { Schema::table('avatars', function (Blueprint $table) { - $table->dropIndex('deleted_at','avatars_deleted_at_index'); + $table->dropIndex('avatars_deleted_at_index'); }); Schema::table('profiles', function (Blueprint $table) { - $table->dropIndex('deleted_at','profiles_deleted_at_index'); + $table->dropIndex('profiles_deleted_at_index'); }); Schema::table('mentions', function (Blueprint $table) { - $table->dropIndex('deleted_at','mentions_deleted_at_index'); + $table->dropIndex('mentions_deleted_at_index'); }); Schema::table('likes', function (Blueprint $table) { - $table->dropIndex('deleted_at','likes_deleted_at_index'); + $table->dropIndex('likes_deleted_at_index'); }); Schema::table('statuses', function (Blueprint $table) { - $table->dropIndex('deleted_at','statuses_deleted_at_index'); + $table->dropIndex('statuses_deleted_at_index'); }); Schema::table('media', function (Blueprint $table) { - $table->dropIndex('deleted_at','media_deleted_at_index'); + $table->dropIndex('media_deleted_at_index'); }); Schema::table('notifications', function (Blueprint $table) { - $table->dropIndex('deleted_at','notifications_deleted_at_index'); + $table->dropIndex('notifications_deleted_at_index'); }); Schema::table('users', function (Blueprint $table) { - $table->dropIndex('deleted_at','users_deleted_at_index'); + $table->dropIndex('users_deleted_at_index'); }); } }