Files
Discount-Bandit/app/Console/Commands/DiscountUpdateCommand.php
YNWA Fawzy f927bfb6c0 - add walmart stores to the list of products.
- 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
2023-12-06 12:01:31 +04:00

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);
}
}