...
|
...
|
@@ -344,7 +344,7 @@ ALTER TABLE yh_shops.brand_series ADD COLUMN `bannar_img` varchar(100) DEFAULT N |
|
|
|
|
|
|
|
|
|
|
|
--数据库 erp_product
|
|
|
-- 拍摄复尺 数据库 erp_product
|
|
|
|
|
|
|
|
|
CREATE TABLE erp_product.shoot_requirement(
|
...
|
...
|
@@ -404,4 +404,56 @@ ALTER TABLE yh_shops.model |
|
|
ALTER TABLE yh_shops.model_card
|
|
|
ADD COLUMN `model_id` INT NOT NULL DEFAULT 0 AFTER `model_name`;
|
|
|
|
|
|
ALTER TABLE yh_shops.product_size_reference ADD KEY `union_key` (`product_skn`,`size_id`,`gender`); |
|
|
\ No newline at end of file |
|
|
ALTER TABLE yh_shops.product_size_reference ADD KEY `union_key` (`product_skn`,`size_id`,`gender`);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- 店铺装修
|
|
|
|
|
|
--database erp_supplier
|
|
|
CREATE TABLE `erp_supplier`.`shops_decorator` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`shops_id` int(11) DEFAULT NULL,
|
|
|
`check_status` int(11) DEFAULT NULL COMMENT '100 暂存 200 待审核 300 审核通过 900 驳回',
|
|
|
`create_time` int(11) DEFAULT NULL,
|
|
|
`update_time` int(11) DEFAULT NULL,
|
|
|
`status` int(11) DEFAULT NULL,
|
|
|
PRIMARY KEY (`id`)
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=213 DEFAULT CHARSET=utf8 COMMENT='店铺装修';
|
|
|
|
|
|
|
|
|
CREATE TABLE `erp_supplier`.`shops_decorator_comment` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`shops_decorator_id` int(11) DEFAULT NULL,
|
|
|
`shops_decorator_template_id` int(11) DEFAULT NULL,
|
|
|
`create_time` int(11) DEFAULT NULL,
|
|
|
`comment` varchar(100) DEFAULT NULL,
|
|
|
PRIMARY KEY (`id`)
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=75 DEFAULT CHARSET=utf8;
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `erp_supplier`.`shops_decorator_template`;
|
|
|
CREATE TABLE `erp_supplier`.`shops_decorator_template` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`shops_decorator_id` int(11) NOT NULL,
|
|
|
`platform` varchar(10) NOT NULL COMMENT '平台(PC,APP)',
|
|
|
`template_type` varchar(10) DEFAULT '2' COMMENT '模板(1:基础模板,2:经典模板)',
|
|
|
`create_time` int(11) NOT NULL,
|
|
|
`update_time` int(11) NOT NULL DEFAULT '0',
|
|
|
`is_enable` enum('N','Y','') DEFAULT 'Y' COMMENT '是否启用该模板',
|
|
|
PRIMARY KEY (`id`)
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=213 DEFAULT CHARSET=utf8 COMMENT='店铺装修模板';
|
|
|
|
|
|
|
|
|
CREATE TABLE `erp_supplier`.`shops_decorator_template_resource` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`shops_decorator_id` int(11) DEFAULT NULL,
|
|
|
`shops_decorator_template_id` int(11) DEFAULT NULL,
|
|
|
`resource_name` varchar(50) DEFAULT NULL,
|
|
|
`resource_data` text,
|
|
|
`create_time` int(11) DEFAULT NULL,
|
|
|
`update_time` int(11) DEFAULT NULL,
|
|
|
PRIMARY KEY (`id`)
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2905 DEFAULT CHARSET=utf8 COMMENT='店铺装修模板信息';
|
|
|
|
...
|
...
|
|