1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 20:20:34 +02:00

Fix mistake in table name

This commit is contained in:
Toby Zerner
2015-05-29 18:22:51 +09:30
parent 67ffd8efd7
commit c780e620c0

View File

@@ -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');
}
}