Skip to content

Commit

Permalink
missing save method around removeColumn
Browse files Browse the repository at this point in the history
In English Document, `->save()` method was added on the example code, though not in Japanese one.
It causes `[RuntimeException] Migration has pending actions after execution!`, and should be modified.
  • Loading branch information
gorogoroyasu committed Sep 13, 2018
1 parent 3663473 commit b2137b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ja/migrations.rst
Expand Up @@ -376,7 +376,8 @@ fieldType の後のクエスチョンマークは、ヌルを許可するカラ
public function up()
{
$table = $this->table('products');
$table->removeColumn('price');
$table->removeColumn('price')
->save();
}
}

Expand Down

0 comments on commit b2137b8

Please sign in to comment.