File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ public function checkDatabasesExist()
141141 $ mysql = config ('repository.path.relative.repositories ' ) . DIRECTORY_SEPARATOR . $ entityName . DIRECTORY_SEPARATOR . 'MySql ' . $ entityName . 'Repository.php ' ;
142142 $ redis = config ('repository.path.relative.repositories ' ) . DIRECTORY_SEPARATOR . $ entityName . DIRECTORY_SEPARATOR . 'Redis ' . $ entityName . 'Repository.php ' ;
143143
144- if (!(file_exists ($ mysql ) && file_exists ($ redis ))) {
144+ if (!(file_exists ($ mysql ) || file_exists ($ redis ))) {
145145 $ this ->alert ("First create the class databases!!! " );
146146 exit ;
147147 }
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ trait CustomMySqlQueries
1919 'mediumint ' => 'int ' ,
2020 'bigint ' => 'int ' ,
2121 'float ' => 'float ' ,
22+ 'decimal ' => 'float ' ,
2223 'double ' => 'float ' ,
2324 'json ' => 'string ' ,
2425 'char ' => 'string ' ,
You can’t perform that action at this time.
0 commit comments