Files
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

28 lines
548 B
PHP

<?php
namespace Database\Seeders;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use App\Models\Currency;
use App\Models\Product;
use App\Models\Store;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
$stores=setup_stores();
foreach ($stores as $store)
{
Store::updateOrCreate(
['domain'=>$store['domain']],
$store
);
}
}
}