Showing
1 changed file
with
54 additions
and
2 deletions
@@ -344,7 +344,7 @@ ALTER TABLE yh_shops.brand_series ADD COLUMN `bannar_img` varchar(100) DEFAULT N | @@ -344,7 +344,7 @@ ALTER TABLE yh_shops.brand_series ADD COLUMN `bannar_img` varchar(100) DEFAULT N | ||
344 | 344 | ||
345 | 345 | ||
346 | 346 | ||
347 | ---数据库 erp_product | 347 | +-- 拍摄复尺 数据库 erp_product |
348 | 348 | ||
349 | 349 | ||
350 | CREATE TABLE erp_product.shoot_requirement( | 350 | CREATE TABLE erp_product.shoot_requirement( |
@@ -404,4 +404,56 @@ ALTER TABLE yh_shops.model | @@ -404,4 +404,56 @@ ALTER TABLE yh_shops.model | ||
404 | ALTER TABLE yh_shops.model_card | 404 | ALTER TABLE yh_shops.model_card |
405 | ADD COLUMN `model_id` INT NOT NULL DEFAULT 0 AFTER `model_name`; | 405 | ADD COLUMN `model_id` INT NOT NULL DEFAULT 0 AFTER `model_name`; |
406 | 406 | ||
407 | - ALTER TABLE yh_shops.product_size_reference ADD KEY `union_key` (`product_skn`,`size_id`,`gender`); | ||
407 | + ALTER TABLE yh_shops.product_size_reference ADD KEY `union_key` (`product_skn`,`size_id`,`gender`); | ||
408 | + | ||
409 | + | ||
410 | + | ||
411 | + | ||
412 | + -- 店铺装修 | ||
413 | + | ||
414 | + --database erp_supplier | ||
415 | +CREATE TABLE `erp_supplier`.`shops_decorator` ( | ||
416 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
417 | + `shops_id` int(11) DEFAULT NULL, | ||
418 | + `check_status` int(11) DEFAULT NULL COMMENT '100 暂存 200 待审核 300 审核通过 900 驳回', | ||
419 | + `create_time` int(11) DEFAULT NULL, | ||
420 | + `update_time` int(11) DEFAULT NULL, | ||
421 | + `status` int(11) DEFAULT NULL, | ||
422 | + PRIMARY KEY (`id`) | ||
423 | +) ENGINE=InnoDB AUTO_INCREMENT=213 DEFAULT CHARSET=utf8 COMMENT='店铺装修'; | ||
424 | + | ||
425 | + | ||
426 | +CREATE TABLE `erp_supplier`.`shops_decorator_comment` ( | ||
427 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
428 | + `shops_decorator_id` int(11) DEFAULT NULL, | ||
429 | + `shops_decorator_template_id` int(11) DEFAULT NULL, | ||
430 | + `create_time` int(11) DEFAULT NULL, | ||
431 | + `comment` varchar(100) DEFAULT NULL, | ||
432 | + PRIMARY KEY (`id`) | ||
433 | +) ENGINE=InnoDB AUTO_INCREMENT=75 DEFAULT CHARSET=utf8; | ||
434 | + | ||
435 | + | ||
436 | +DROP TABLE IF EXISTS `erp_supplier`.`shops_decorator_template`; | ||
437 | +CREATE TABLE `erp_supplier`.`shops_decorator_template` ( | ||
438 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
439 | + `shops_decorator_id` int(11) NOT NULL, | ||
440 | + `platform` varchar(10) NOT NULL COMMENT '平台(PC,APP)', | ||
441 | + `template_type` varchar(10) DEFAULT '2' COMMENT '模板(1:基础模板,2:经典模板)', | ||
442 | + `create_time` int(11) NOT NULL, | ||
443 | + `update_time` int(11) NOT NULL DEFAULT '0', | ||
444 | + `is_enable` enum('N','Y','') DEFAULT 'Y' COMMENT '是否启用该模板', | ||
445 | + PRIMARY KEY (`id`) | ||
446 | +) ENGINE=InnoDB AUTO_INCREMENT=213 DEFAULT CHARSET=utf8 COMMENT='店铺装修模板'; | ||
447 | + | ||
448 | + | ||
449 | +CREATE TABLE `erp_supplier`.`shops_decorator_template_resource` ( | ||
450 | + `id` int(11) NOT NULL AUTO_INCREMENT, | ||
451 | + `shops_decorator_id` int(11) DEFAULT NULL, | ||
452 | + `shops_decorator_template_id` int(11) DEFAULT NULL, | ||
453 | + `resource_name` varchar(50) DEFAULT NULL, | ||
454 | + `resource_data` text, | ||
455 | + `create_time` int(11) DEFAULT NULL, | ||
456 | + `update_time` int(11) DEFAULT NULL, | ||
457 | + PRIMARY KEY (`id`) | ||
458 | +) ENGINE=InnoDB AUTO_INCREMENT=2905 DEFAULT CHARSET=utf8 COMMENT='店铺装修模板信息'; | ||
459 | + |
-
Please register or login to post a comment