diff --git a/src/UpgradeCommand.php b/src/UpgradeCommand.php
index <HASH>..<HASH> 100644
--- a/src/UpgradeCommand.php
+++ b/src/UpgradeCommand.php
@@ -37,7 +37,7 @@ class UpgradeCommand extends Command
 
         $this->line("<info>Created Migration:</info> {$file}");
 
-        if (! $this->getOption('no-migrate')) {
+        if (! $this->input->getOption('no-migrate')) {
             $this->call('migrate');
         }
     }
Correctly get the option from the input object