Skip to content

Commit d728061

Browse files
fix(Command): resolve bug in generate repository:make-mysql-repository (MakAll command)
1 parent 97fca6d commit d728061

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Commands/MakeAll.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
namespace Eghamat24\DatabaseRepository\Commands;
44

5-
use Illuminate\Console\Command;
65
use Eghamat24\DatabaseRepository\CustomMySqlQueries;
76

8-
class MakeAll extends Command
7+
class MakeAll extends BaseCommand
98
{
109
use CustomMySqlQueries;
1110

@@ -93,6 +92,7 @@ private function runCommandsWithArguments(array $arguments, bool|array|string|nu
9392
'repository:make-factory' => array_diff_key($arguments, ['--foreign-keys' => null]),
9493
'repository:make-resource' => $arguments,
9594
'repository:make-interface-repository' => $arguments,
95+
'repository:make-mysql-repository' => $arguments,
9696
'repository:make-redis-repository' => $arguments + ['strategy' => $strategy],
9797
'repository:make-repository' => $arguments + ['strategy' => $strategy, 'selected_db' => $selectedDb]
9898
];

0 commit comments

Comments
 (0)