|
|
database erp_supplier
|
|
|
|
|
|
|
|
|
CREATE TABLE `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=93 DEFAULT CHARSET=utf8 COMMENT='店铺装修';
|
|
|
|
|
|
|
|
|
CREATE TABLE `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=27 DEFAULT CHARSET=utf8;
|
|
|
|
|
|
|
|
|
CREATE TABLE `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_name` varchar(10) NOT NULL COMMENT '模板(BASE:基础模板,CLASSIC:经典模板)',
|
|
|
`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=92 DEFAULT CHARSET=utf8 COMMENT='店铺装修模板';
|
|
|
|
|
|
|
|
|
CREATE TABLE `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=948 DEFAULT CHARSET=utf8 COMMENT='店铺装修模板信息';
|
|
|
|
...
|
...
|
|