Improve bool type

This commit is contained in:
Matthew Brown 2020-01-05 22:07:30 -05:00
parent 084742d798
commit f11cfff931

View File

@ -72,7 +72,7 @@ class FakeModelsCommand extends \Barryvdh\LaravelIdeHelper\Console\ModelsCommand
switch (config('database.default')) { switch (config('database.default')) {
case 'sqlite': case 'sqlite':
case 'mysql': case 'mysql':
$type = 'int'; $type = '0|1|bool';
break; break;
default: default:
$type = 'bool'; $type = 'bool';