mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
Fix mistake in table name
This commit is contained in:
parent
67ffd8efd7
commit
c780e620c0
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user