mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:14:03 +00:00
Remove redundant store variable
This commit is contained in:
parent
9f83a65f22
commit
d7f7ad3ce6
1 changed files with 2 additions and 4 deletions
|
|
@ -36,13 +36,11 @@ final class MigrateFresh extends Command
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
$dropViewsFlag = $this->option('drop-views');
|
||||
|
||||
tenancy()->runForMultiple($this->option('tenants'), function ($tenant) use ($dropViewsFlag) {
|
||||
tenancy()->runForMultiple($this->option('tenants'), function ($tenant) {
|
||||
$this->info('Dropping tables.');
|
||||
$this->call('db:wipe', array_filter([
|
||||
'--database' => 'tenant',
|
||||
'--drop-views' => $dropViewsFlag,
|
||||
'--drop-views' => $this->option('drop-views'),
|
||||
'--force' => true,
|
||||
]));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue