We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72557c9 commit 84eaf91Copy full SHA for 84eaf91
src/Commands/BaseCommand.php
@@ -141,7 +141,7 @@ public function checkDatabasesExist()
141
$mysql = config('repository.path.relative.repositories') . DIRECTORY_SEPARATOR . $entityName . DIRECTORY_SEPARATOR . 'MySql' . $entityName . 'Repository.php';
142
$redis = config('repository.path.relative.repositories') . DIRECTORY_SEPARATOR . $entityName . DIRECTORY_SEPARATOR . 'Redis' . $entityName . 'Repository.php';
143
144
- if (!(file_exists($mysql) && file_exists($redis))) {
+ if (!(file_exists($mysql) || file_exists($redis))) {
145
$this->alert("First create the class databases!!!");
146
exit;
147
}
0 commit comments