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 898f1d5 commit 3c5e010Copy full SHA for 3c5e010
src/Commands/MakeAll.php
@@ -48,7 +48,8 @@ public function handle()
48
exit;
49
}
50
51
- $this->selectedDb = $this->hasOption('selected_db') && $this->option('selected_db') ? $this->option('selected_db') : config('repository.default_db');
+ $selectedDb = $this->option('selected_db') ?: config('repository.default_db');
52
+
53
$force = $this->option('force');
54
$delete = $this->option('delete');
55
$detectForeignKeys = $this->option('foreign-keys');
0 commit comments