From b2137b851b5baa2f1224526d0b51ecc574013cea Mon Sep 17 00:00:00 2001 From: Yasuaki Hamano Date: Thu, 13 Sep 2018 14:35:47 +0900 Subject: [PATCH] missing save method around `removeColumn` 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. --- ja/migrations.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ja/migrations.rst b/ja/migrations.rst index d64394ed02..8dd6d38d20 100644 --- a/ja/migrations.rst +++ b/ja/migrations.rst @@ -376,7 +376,8 @@ fieldType の後のクエスチョンマークは、ヌルを許可するカラ public function up() { $table = $this->table('products'); - $table->removeColumn('price'); + $table->removeColumn('price') + ->save(); } }