mirror of
https://github.com/Cybrarist/Discount-Bandit.git
synced 2026-11-24 19:49:54 +01:00
- fix price chart doesn't show labels on hovering - fixed detach action removes all products in that store - remove product history if the product is not attached to store anymore. - fixed problem where prices are multiplied by 100. - fixed "edit" action breaking Single Product Store View - fixed shipping price number presentation.
25 lines
438 B
PHP
25 lines
438 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
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
|
|
);
|
|
}
|
|
}
|
|
}
|