Skip to content

Commit 4fbdb17

Browse files
fix: add missing field
1 parent 2d269fd commit 4fbdb17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Generator/Commands/ContainerApiGenerator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ public function getUserInputs(): ?array
305305
'--model' => $model,
306306
'--stub' => 'migration',
307307
'--event' => false,
308+
'--tablename' => Str::snake(Pluralizer::plural($containerName)),
308309
]);
309310

310311
$this->call('apiato:generate:test:functional', [

0 commit comments

Comments
 (0)