From c780e620c018d22fe6ef09cd81882c526472d64b Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 29 May 2015 18:22:51 +0930 Subject: [PATCH] Fix mistake in table name --- .../2015_05_11_000000_create_mentions_posts_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php index fb30a4593..b41a5564e 100644 --- a/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php +++ b/extensions/mentions/migrations/2015_05_11_000000_create_mentions_posts_table.php @@ -12,7 +12,7 @@ class CreateMentionsPostsTable extends Migration */ public function up() { - Schema::create('mentionsPosts', function (Blueprint $table) { + Schema::create('mentions_posts', function (Blueprint $table) { $table->integer('post_id')->unsigned(); $table->integer('mentions_id')->unsigned(); $table->primary(['post_id', 'mentions_id']); @@ -26,6 +26,6 @@ class CreateMentionsPostsTable extends Migration */ public function down() { - Schema::drop('mentionsPosts'); + Schema::drop('mentions_posts'); } }