mirror of
https://github.com/Cybrarist/Discount-Bandit.git
synced 2026-11-24 19:49:54 +01:00
- fix panel issue where route is wrong - add store images for ebay - add walmart.com and walmart.ca to the stores - add new discount:update command to update the system - add new discount:test-notify to test the notification system. - fix route..page.my-profile not found
31 lines
606 B
PHP
31 lines
606 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use Illuminate\Console\Command;
|
|
|
|
class DiscountUpdateCommand extends Command
|
|
{
|
|
/**
|
|
* The name and signature of the console command.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $signature = 'discount:update';
|
|
|
|
/**
|
|
* The console command description.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $description = 'Update discount bandit with the new stores and database changes';
|
|
|
|
/**
|
|
* Execute the console command.
|
|
*/
|
|
public function handle()
|
|
{
|
|
\Artisan::call("migrate --seed --force", [] , $this->output);
|
|
}
|
|
}
|