diff --git a/src/Commands/ModelFromTableCommand.php b/src/Commands/ModelFromTableCommand.php index 7f0616d..ae169b9 100644 --- a/src/Commands/ModelFromTableCommand.php +++ b/src/Commands/ModelFromTableCommand.php @@ -217,7 +217,7 @@ public function hydrateStub($table) } } - $timestamps = ($this->getOption('timestamps', false, true)) ? 'false' : 'true'; + $timestamps = ($this->getOption('timestamps', false, true)) ? 'true' : 'false'; // replace in stub $stub = str_replace('{{connection}}', $this->stubConnection, $stub);