dest.sql 1.1 KB

1234567891011121314151617181920212223
  1. /**
  2. * Copyright © Magento, Inc. All rights reserved.
  3. * See COPYING.txt for license details.
  4. */
  5. CREATE TABLE `catalog_product_entity_tier_price` (
  6. `value_id` INT(11) NOT NULL AUTO_INCREMENT COMMENT 'Value ID',
  7. `entity_id` INT(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Entity ID',
  8. `all_groups` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '1' COMMENT 'Is Applicable To All Customer Groups',
  9. `customer_group_id` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Customer Group ID',
  10. `qty` DECIMAL(12,4) NOT NULL DEFAULT '1.0000' COMMENT 'QTY',
  11. `value` DECIMAL(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Value',
  12. `website_id` SMALLINT(5) UNSIGNED NOT NULL COMMENT 'Website ID',
  13. PRIMARY KEY (`value_id`),
  14. UNIQUE INDEX `UNQ_E8AB433B9ACB00343ABB312AD2FAB087` (`entity_id`, `all_groups`, `customer_group_id`, `qty`, `website_id`),
  15. INDEX `CATALOG_PRODUCT_ENTITY_TIER_PRICE_CUSTOMER_GROUP_ID` (`customer_group_id`),
  16. INDEX `CATALOG_PRODUCT_ENTITY_TIER_PRICE_WEBSITE_ID` (`website_id`)
  17. )
  18. COMMENT='Catalog Product Tier Price Attribute Backend Table'
  19. COLLATE='utf8_general_ci'
  20. ENGINE=InnoDB
  21. AUTO_INCREMENT=0
  22. ;