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()
141
141
$ mysql = config ('repository.path.relative.repositories ' ) . DIRECTORY_SEPARATOR . $ entityName . DIRECTORY_SEPARATOR . 'MySql ' . $ entityName . 'Repository.php ' ;
142
142
$ redis = config ('repository.path.relative.repositories ' ) . DIRECTORY_SEPARATOR . $ entityName . DIRECTORY_SEPARATOR . 'Redis ' . $ entityName . 'Repository.php ' ;
143
143
144
- if (!(file_exists ($ mysql ) && file_exists ($ redis ))) {
144
+ if (!(file_exists ($ mysql ) || file_exists ($ redis ))) {
145
145
$ this ->alert ("First create the class databases!!! " );
146
146
exit ;
147
147
}
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ trait CustomMySqlQueries
19
19
'mediumint ' => 'int ' ,
20
20
'bigint ' => 'int ' ,
21
21
'float ' => 'float ' ,
22
+ 'decimal ' => 'float ' ,
22
23
'double ' => 'float ' ,
23
24
'json ' => 'string ' ,
24
25
'char ' => 'string ' ,
You can’t perform that action at this time.
0 commit comments