Skip to content

Commit

Permalink
Merge pull request #63 from danrovito/patch-2
Browse files Browse the repository at this point in the history
Update ModelFromTableCommand.php
  • Loading branch information
michael-mcmullen authored Oct 21, 2023
2 parents 5f87942 + 52d51ea commit 69010c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/ModelFromTableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 69010c4

Please sign in to comment.