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:
@@ -12,7 +12,7 @@ class CreateMentionsPostsTable extends Migration
|
|||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::create('mentionsPosts', function (Blueprint $table) {
|
Schema::create('mentions_posts', function (Blueprint $table) {
|
||||||
$table->integer('post_id')->unsigned();
|
$table->integer('post_id')->unsigned();
|
||||||
$table->integer('mentions_id')->unsigned();
|
$table->integer('mentions_id')->unsigned();
|
||||||
$table->primary(['post_id', 'mentions_id']);
|
$table->primary(['post_id', 'mentions_id']);
|
||||||
@@ -26,6 +26,6 @@ class CreateMentionsPostsTable extends Migration
|
|||||||
*/
|
*/
|
||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
Schema::drop('mentionsPosts');
|
Schema::drop('mentions_posts');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user