Authored by qianjun

sql

  1 +-- 1.前台数据库(yh_shops)
  2 +-- 商品扩展属性表(退换货)
  3 +CREATE TABLE `product_ext_attribute` (
  4 + `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  5 + `product_skn` int(11) unsigned COMMENT '产品SKN',
  6 + `is_refund_exchange` int(11) unsigned COMMENT '0、不支持退换货 1、支持退换货'
  7 + PRIMARY KEY (`id`),
  8 + KEY `product_skn` (`product_skn`) USING BTREE
  9 +) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  10 +
  11 +-- 2.后台数据库(erp_product)
  12 +-- 商品扩展属性表(退换货)
  13 +CREATE TABLE `product_ext_attribute` (
  14 + `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  15 + `product_skn` int(11) unsigned COMMENT '产品SKN',
  16 + `is_refund_exchange` int(11) unsigned COMMENT '0、不支持退换货 1、支持退换货'
  17 + PRIMARY KEY (`id`),
  18 + KEY `product_skn` (`product_skn`) USING BTREE
  19 +) ENGINE=InnoDB DEFAULT CHARSET=utf8;