Skip to content

Commit

Permalink
Merge pull request #691 from fabian-mcfly/patch-1
Browse files Browse the repository at this point in the history
Don't pluralize table name when baking seeds
  • Loading branch information
markstory authored Feb 20, 2024
2 parents 61e0ba0 + 97ed49b commit 2a5f996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/BakeSeedCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function templateData(Arguments $arguments): array
$namespace = $this->_pluginNamespace($this->plugin);
}

$table = Inflector::tableize((string)$arguments->getArgumentAt(0));
$table = Inflector::underscore((string)$arguments->getArgumentAt(0));
if ($arguments->hasOption('table')) {
/** @var string $table */
$table = $arguments->getOption('table');
Expand Down

0 comments on commit 2a5f996

Please sign in to comment.