mirror of
https://github.com/flarum/framework.git
synced 2025-04-26 06:34:06 +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()
|
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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user