From fb84531e0a43d41f366560f71b8d0bfd90a88f44 Mon Sep 17 00:00:00 2001 From: a-komarev Date: Sat, 8 Apr 2017 17:45:37 +0300 Subject: [PATCH] Migration table now is configurable now --- .../2017_03_30_152742_add_soft_deletes_to_messages_table.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/migrations/2017_03_30_152742_add_soft_deletes_to_messages_table.php b/src/migrations/2017_03_30_152742_add_soft_deletes_to_messages_table.php index e7bf7ff..25eb1e3 100644 --- a/src/migrations/2017_03_30_152742_add_soft_deletes_to_messages_table.php +++ b/src/migrations/2017_03_30_152742_add_soft_deletes_to_messages_table.php @@ -1,5 +1,6 @@ softDeletes(); }); } @@ -25,7 +26,7 @@ public function up() */ public function down() { - Schema::table('messages', function (Blueprint $table) { + Schema::table(Models::table('messages'), function (Blueprint $table) { $table->dropSoftDeletes(); }); }