-- rewind begin page {"strategy":"slow","orderBy":[{"name":"product_or_parent_id","direction":"ASC"},{"name":"term_id","direction":"ASC"},{"name":"product_id","direction":"ASC"},{"name":"taxonomy","direction":"ASC"}],"page":"first","limit":2500}
CREATE TABLE `wptq_wc_product_attributes_lookup` (
  `product_id` bigint(20) NOT NULL,
  `product_or_parent_id` bigint(20) NOT NULL,
  `taxonomy` varchar(32) NOT NULL,
  `term_id` bigint(20) NOT NULL,
  `is_variation_attribute` tinyint(1) NOT NULL,
  `in_stock` tinyint(1) NOT NULL,
  PRIMARY KEY (`product_or_parent_id`,`term_id`,`product_id`,`taxonomy`),
  KEY `is_variation_attribute_term_id` (`is_variation_attribute`,`term_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;
-- rewind end page {"strategy":"slow","orderBy":[{"name":"product_or_parent_id","direction":"ASC"},{"name":"term_id","direction":"ASC"},{"name":"product_id","direction":"ASC"},{"name":"taxonomy","direction":"ASC"}],"page":"first","limit":2500}
