Files
YNWA Fawzy a7781d9f8a Features:
- SnapDeal added
- Nykaa added
- Tata CLiQ added
- Ajio added

Fixes:
- RSS feed breaks if product has no image
- amazon title wasn't being picked up.

Took 2 hours 45 minutes
2024-10-27 19:09:36 +04:00

36 lines
660 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Store;
use App\Models\User;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
if (app()->isLocal())
User::create([
'email' => 'test@test.com',
'password' => 'password',
'name' => 'password',
]);
$this->call([
StoreSeeder::class,
]);
Store::whereIn('domain',[
'fnac.com'
])->delete();
}
}