Commit 148fca3d by 林永健

5.7.0

1 parent 75c40bc4
...@@ -116,6 +116,35 @@ ALTER TABLE supervisor_audio_review_info ADD INDEX idx_relation_id (relation_id) ...@@ -116,6 +116,35 @@ ALTER TABLE supervisor_audio_review_info ADD INDEX idx_relation_id (relation_id)
### 范富荣 -----------------end--------------------- ### 范富荣 -----------------end---------------------
### 林永健 -----------------start------------------- ### 林永健 -----------------start-------------------
CREATE TABLE `dj_merchant_bi_follow` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`merchant_id` int(11) NOT NULL COMMENT '门店号',
`merchant_name` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '门店名称',
`business_type` tinyint(2) NOT NULL COMMENT '业务场景',
`follow_count` int(8) NOT NULL DEFAULT '0' COMMENT '关注数',
`created_by` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '创建人',
`created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`updated_by` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '修改人',
`updated_date` datetime DEFAULT NULL COMMENT '修改时间',
`deleted_flag` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='门店关注表';
CREATE TABLE `dj_merchant_bi_follow_detail` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键id',
`follow_id` int(11) NOT NULL COMMENT 'dj_merchant_bi_follow.id',
`staff_uuid` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '员工编号',
`staff_phone` varchar(16) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '员工手机号',
`staff_name` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '员工姓名',
`created_by` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '创建人',
`created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`updated_by` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '修改人',
`updated_date` datetime DEFAULT NULL COMMENT '修改时间',
`deleted_flag` char(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='门店关注详情表';
### 林永健 -----------------end--------------------- ### 林永健 -----------------end---------------------
### 谢海旭 -----------------start------------------- ### 谢海旭 -----------------start-------------------
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!