|
|
@@ -255,7 +255,8 @@ class ProductTableSeeder extends Seeder
|
|
|
DB::table('product_price_indices')->insert([
|
|
|
[
|
|
|
'id' => 1,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -266,7 +267,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 2,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -277,7 +279,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 3,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -288,7 +291,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 4,
|
|
|
- 'product_id' => 2,
|
|
|
+ 'priceable_id' => 2,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -299,7 +303,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 5,
|
|
|
- 'product_id' => 2,
|
|
|
+ 'priceable_id' => 2,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -310,7 +315,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 6,
|
|
|
- 'product_id' => 2,
|
|
|
+ 'priceable_id' => 2,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -321,7 +327,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 7,
|
|
|
- 'product_id' => 3,
|
|
|
+ 'priceable_id' => 3,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -332,7 +339,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 8,
|
|
|
- 'product_id' => 3,
|
|
|
+ 'priceable_id' => 3,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -343,7 +351,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 9,
|
|
|
- 'product_id' => 3,
|
|
|
+ 'priceable_id' => 3,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -354,7 +363,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 10,
|
|
|
- 'product_id' => 4,
|
|
|
+ 'priceable_id' => 4,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -365,7 +375,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 11,
|
|
|
- 'product_id' => 4,
|
|
|
+ 'priceable_id' => 4,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -376,7 +387,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 12,
|
|
|
- 'product_id' => 4,
|
|
|
+ 'priceable_id' => 4,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -387,7 +399,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 13,
|
|
|
- 'product_id' => 5,
|
|
|
+ 'priceable_id' => 5,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -398,7 +411,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 14,
|
|
|
- 'product_id' => 5,
|
|
|
+ 'priceable_id' => 5,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -409,7 +423,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 15,
|
|
|
- 'product_id' => 5,
|
|
|
+ 'priceable_id' => 5,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -420,7 +435,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 16,
|
|
|
- 'product_id' => 6,
|
|
|
+ 'priceable_id' => 6,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -431,7 +447,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 17,
|
|
|
- 'product_id' => 6,
|
|
|
+ 'priceable_id' => 6,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -442,7 +459,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 18,
|
|
|
- 'product_id' => 6,
|
|
|
+ 'priceable_id' => 6,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -453,7 +471,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 19,
|
|
|
- 'product_id' => 8,
|
|
|
+ 'priceable_id' => 8,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -464,7 +483,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 20,
|
|
|
- 'product_id' => 8,
|
|
|
+ 'priceable_id' => 8,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -475,7 +495,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 21,
|
|
|
- 'product_id' => 8,
|
|
|
+ 'priceable_id' => 8,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 14,
|
|
|
@@ -486,7 +507,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 22,
|
|
|
- 'product_id' => 9,
|
|
|
+ 'priceable_id' => 9,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -497,7 +519,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 23,
|
|
|
- 'product_id' => 9,
|
|
|
+ 'priceable_id' => 9,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -508,7 +531,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 24,
|
|
|
- 'product_id' => 9,
|
|
|
+ 'priceable_id' => 9,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -519,7 +543,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 25,
|
|
|
- 'product_id' => 10,
|
|
|
+ 'priceable_id' => 10,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -530,7 +555,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 26,
|
|
|
- 'product_id' => 10,
|
|
|
+ 'priceable_id' => 10,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -541,7 +567,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 27,
|
|
|
- 'product_id' => 10,
|
|
|
+ 'priceable_id' => 10,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -552,7 +579,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 28,
|
|
|
- 'product_id' => 11,
|
|
|
+ 'priceable_id' => 11,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -563,7 +591,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 29,
|
|
|
- 'product_id' => 11,
|
|
|
+ 'priceable_id' => 11,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -574,7 +603,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 30,
|
|
|
- 'product_id' => 11,
|
|
|
+ 'priceable_id' => 11,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 21,
|
|
|
@@ -585,7 +615,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 31,
|
|
|
- 'product_id' => 7,
|
|
|
+ 'priceable_id' => 7,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -596,7 +627,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 32,
|
|
|
- 'product_id' => 7,
|
|
|
+ 'priceable_id' => 7,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -607,7 +639,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'updated_at' => $now,
|
|
|
], [
|
|
|
'id' => 33,
|
|
|
- 'product_id' => 7,
|
|
|
+ 'priceable_id' => 7,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'channel_id' => 1,
|
|
|
'min_price' => 17,
|
|
|
@@ -625,7 +658,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'qty' => 2,
|
|
|
'value_type' => 'fixed',
|
|
|
'value' => 12,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'created_at' => $now,
|
|
|
'updated_at' => $now,
|
|
|
@@ -635,7 +669,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'qty' => 2,
|
|
|
'value_type' => 'fixed',
|
|
|
'value' => 12,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'created_at' => $now,
|
|
|
'updated_at' => $now,
|
|
|
@@ -645,7 +680,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'qty' => 2,
|
|
|
'value_type' => 'fixed',
|
|
|
'value' => 12,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'created_at' => $now,
|
|
|
'updated_at' => $now,
|
|
|
@@ -655,7 +691,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'qty' => 3,
|
|
|
'value_type' => 'fixed',
|
|
|
'value' => 50,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 1,
|
|
|
'created_at' => $now,
|
|
|
'updated_at' => $now,
|
|
|
@@ -665,7 +702,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'qty' => 3,
|
|
|
'value_type' => 'fixed',
|
|
|
'value' => 50,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 2,
|
|
|
'created_at' => $now,
|
|
|
'updated_at' => $now,
|
|
|
@@ -675,7 +713,8 @@ class ProductTableSeeder extends Seeder
|
|
|
'qty' => 3,
|
|
|
'value_type' => 'fixed',
|
|
|
'value' => 50,
|
|
|
- 'product_id' => 1,
|
|
|
+ 'priceable_id' => 1,
|
|
|
+ 'priceable_type' => 'Webkul\\Product\\Models\\Product',
|
|
|
'customer_group_id' => 3,
|
|
|
'created_at' => $now,
|
|
|
'updated_at' => $now,
|