File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ public function checkDatabasesExist()
136136 {
137137
138138 $ entityName = Str::singular (ucfirst (Str::camel ($ this ->argument ('table_name ' ))));
139- $ mysql = config ('repository.path.namespace .repositories ' ) . "\\" . $ entityName . "\\" . "MySql " . $ entityName . "Repository.php " ;
140- $ redis = config ('repository.path.namespace .repositories ' ) . "\\" . $ entityName . "\\" . "Redis " . $ entityName . "Repository.php " ;
139+ $ mysql = config ('repository.path.relative .repositories ' ) . DIRECTORY_SEPARATOR . $ entityName . DIRECTORY_SEPARATOR . "MySql " . $ entityName . "Repository.php " ;
140+ $ redis = config ('repository.path.relative .repositories ' ) . DIRECTORY_SEPARATOR . $ entityName . DIRECTORY_SEPARATOR . "Redis " . $ entityName . "Repository.php " ;
141141 if (!(file_exists ($ mysql ) && file_exists ($ redis ))) {
142142 $ this ->alert ("First create the class databases!!! " );
143143 exit ;
You can’t perform that action at this time.
0 commit comments