Skip to content

Commit

Permalink
Merge pull request #101 from ucan-lab/fix/issue-100
Browse files Browse the repository at this point in the history
[3.0] Fixed: Refresh option removed
  • Loading branch information
ucan-lab authored Nov 18, 2019
2 parents 183a238 + b871b82 commit fb351e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Console/DacapoGenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class DacapoGenerateCommand extends Command
protected $signature = 'dacapo:generate
{--f|force : Force the operation to run when in production}
{--fresh : Drop all tables and re-run all migrations}
{--refresh : Reset and re-run all migrations}
{--seed : Seed the database with records}
{--dry-run : Outputs the operations but will not execute anything}
';
Expand Down Expand Up @@ -63,8 +62,6 @@ public function handle(): void
$this->call('migrate:fresh', ['--force' => true, '--seed' => true]);
} elseif ($this->option('fresh')) {
$this->call('migrate:fresh', ['--force' => true]);
} elseif ($this->option('refresh')) {
$this->call('migrate:refresh', ['--force' => true]);
}
}
}

0 comments on commit fb351e6

Please sign in to comment.