@@ -1064,18 +1064,18 @@ public function dropProjectConfig(): void
10641064 public function createIndexes (): void
10651065 {
10661066 $ this ->createIndex (null , Table::CATALOG_PRICING , 'catalogPricingRuleId ' , false );
1067+ $ this ->createIndex (null , Table::CATALOG_PRICING , 'isPromotionalPrice ' , false );
10671068 $ this ->createIndex (null , Table::CATALOG_PRICING , 'purchasableId ' , false );
10681069 $ this ->createIndex (null , Table::CATALOG_PRICING , 'storeId ' , false );
10691070 $ this ->createIndex (null , Table::CATALOG_PRICING , 'userId ' , false );
1070- $ this ->createIndex (null , Table::CATALOG_PRICING , ['purchasableId ' , 'storeId ' , 'isPromotionalPrice ' , 'price ' ], false );
10711071 $ this ->createIndex (null , Table::CATALOG_PRICING , ['purchasableId ' , 'storeId ' , 'isPromotionalPrice ' , 'price ' , 'catalogPricingRuleId ' , 'dateFrom ' , 'dateTo ' ], false );
1072+ $ this ->createIndex (null , Table::CATALOG_PRICING , ['purchasableId ' , 'storeId ' , 'isPromotionalPrice ' , 'price ' ], false );
1073+ $ this ->createIndex (null , Table::CATALOG_PRICING , ['purchasableId ' , 'storeId ' ], false );
10721074 $ this ->createIndex (null , Table::CATALOG_PRICING_RULES , 'storeId ' , false );
10731075 $ this ->createIndex (null , Table::CATALOG_PRICING_RULES_USERS , 'catalogPricingRuleId ' , false );
10741076 $ this ->createIndex (null , Table::CATALOG_PRICING_RULES_USERS , 'userId ' , false );
10751077 $ this ->createIndex (null , Table::COUPONS , 'code ' , false );
10761078 $ this ->createIndex (null , Table::COUPONS , 'discountId ' , false );
1077- $ this ->createIndex (null , Table::CATALOG_PRICING , 'isPromotionalPrice ' , false );
1078- $ this ->createIndex (null , Table::CATALOG_PRICING , ['purchasableId ' , 'storeId ' ], false );
10791079 $ this ->createIndex (null , Table::CUSTOMERS , 'customerId ' , true );
10801080 $ this ->createIndex (null , Table::CUSTOMERS , 'primaryBillingAddressId ' , false );
10811081 $ this ->createIndex (null , Table::CUSTOMERS , 'primaryPaymentSourceId ' , false );
0 commit comments