Refactor helper functions and update seeders
- Simplified `tmpostChannel` and `tmpostDefaultInventory` functions by removing caching logic. - Changed return type of `namesWithTaxes` method in `CategoryRepository` to `mixed`. - Enabled `ProductsTableSeeder` and added user association logic for product relations. - Updated `BrandsSeeder` to include the product ID in the slug. - Added `old_customer_id` to `options` in `SellersTableSeeder` for user tracking.
This commit is contained in:
1 parent
d83bc03258
commit
683fa5e0d9
6 files changed
+47
-36
No files matched your search
@@ -23,7 +23,7 @@ public function run(): void
|
||||
// BrandsSeeder::class,
|
||||
// CustomersTableSeeder::class,
|
||||
// SellersTableSeeder::class,
|
||||
// ProductsTableSeeder::class,
|
||||
ProductsTableSeeder::class,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user