| 1 | <?php  | 
            ||
| 8 | class MigrateRefresh extends YarakCommand  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * The command signature.  | 
            ||
| 12 | *  | 
            ||
| 13 | * @var string  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $signature = 'migrate:refresh  | 
            ||
| 16 |                             {--seed : Seed the database after refreshing.} | 
            ||
| 17 |                             {--class=DatabaseSeeder : The name of the seeder class to run.}'; | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * The command description.  | 
            ||
| 21 | *  | 
            ||
| 22 | * @var string  | 
            ||
| 23 | */  | 
            ||
| 24 | protected $description = 'Refresh the database.';  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * Handle the command.  | 
            ||
| 28 | */  | 
            ||
| 29 | protected function handle()  | 
            ||
| 39 | }  | 
            ||
| 40 |