Skip to content

Instantly share code, notes, and snippets.

@ryaan-anthony
Created August 29, 2013 18:38
Show Gist options
  • Select an option

  • Save ryaan-anthony/6381803 to your computer and use it in GitHub Desktop.

Select an option

Save ryaan-anthony/6381803 to your computer and use it in GitHub Desktop.
CREATE TABLE IF NOT EXISTS `catalog_product_index_group_price` (
`entity_id` int(10) unsigned NOT NULL COMMENT 'Entity ID',
`customer_group_id` smallint(5) unsigned NOT NULL COMMENT 'Customer Group ID',
`website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
`price` decimal(12,4) DEFAULT NULL COMMENT 'Min Price',
PRIMARY KEY (`entity_id`,`customer_group_id`,`website_id`),
KEY `IDX_CATALOG_PRODUCT_INDEX_GROUP_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`),
KEY `IDX_CATALOG_PRODUCT_INDEX_GROUP_PRICE_WEBSITE_ID` (`website_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Group Price Index Table';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment