for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Rinvex\Fort\Console\Commands;
use Illuminate\Console\Command;
class RollbackCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'rinvex:rollback:fort';
* The console command description.
protected $description = 'Rollback Rinvex Fort Tables.';
* Execute the console command.
* @return void
public function handle()
$this->warn($this->description);
$this->call('migrate:reset', ['--path' => 'vendor/rinvex/fort/database/migrations']);
}