2 changed files with 79 additions and 0 deletions
@ -0,0 +1,39 @@ |
|||
DROP TABLE IF EXISTS `issue_share_link_record`; |
|||
CREATE TABLE `issue_share_link_record` |
|||
( |
|||
`ID` varchar(64) NOT NULL, |
|||
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户ID', |
|||
`GRID_ID` varchar(64) NOT NULL COMMENT '议题所属网格ID', |
|||
`ISSUE_ID` varchar(64) NOT NULL COMMENT '议题ID', |
|||
`SHARE_USER_ID` varchar(64) NOT NULL COMMENT '分享人(当前用户id)', |
|||
`INVITE_CONTENT` varchar(255) DEFAULT NULL COMMENT '邀请内容', |
|||
`DEL_FLAG` int(11) NOT NULL COMMENT '删除状态 0:正常,1:删除', |
|||
`REVISION` int(11) NOT NULL COMMENT '乐观锁', |
|||
`CREATED_BY` varchar(32) NOT NULL COMMENT '创建人', |
|||
`CREATED_TIME` datetime NOT NULL COMMENT '创建时间', |
|||
`UPDATED_BY` varchar(32) NOT NULL COMMENT '更新人', |
|||
`UPDATED_TIME` datetime NOT NULL COMMENT '更新时间', |
|||
PRIMARY KEY (`ID`) |
|||
) ENGINE = InnoDB |
|||
DEFAULT CHARSET = utf8mb4 COMMENT ='议题分享链接表'; |
|||
|
|||
#================================================================================= |
|||
|
|||
DROP TABLE IF EXISTS `issue_share_link_visit_record`; |
|||
CREATE TABLE `issue_share_link_visit_record` |
|||
( |
|||
`ID` varchar(64) NOT NULL, |
|||
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户ID', |
|||
`SHARE_USER_ID` varchar(64) NOT NULL COMMENT '分享人【邀请人】ID', |
|||
`INVITEE_USER_ID` varchar(64) NOT NULL COMMENT '被邀请人ID', |
|||
`SHARE_LINK_REC_ID` varchar(64) NOT NULL COMMENT '议题分享链接表.id', |
|||
`IS_INVITE_REGISTER` int(11) NOT NULL COMMENT '是否邀请注册:0:是,1:不是', |
|||
`DEL_FLAG` int(11) NOT NULL COMMENT '删除状态,0:正常,1:删除', |
|||
`REVISION` int(11) NOT NULL COMMENT '乐观锁', |
|||
`CREATED_BY` varchar(32) NOT NULL COMMENT '创建人', |
|||
`CREATED_TIME` datetime NOT NULL COMMENT '创建时间', |
|||
`UPDATED_BY` varchar(32) NOT NULL COMMENT '更新人', |
|||
`UPDATED_TIME` datetime NOT NULL COMMENT '更新时间', |
|||
PRIMARY KEY (`ID`) |
|||
) ENGINE = InnoDB |
|||
DEFAULT CHARSET = utf8mb4 COMMENT ='议题分享链接访问记录表 '; |
@ -0,0 +1,40 @@ |
|||
DROP TABLE IF EXISTS `topic_share_link_record`; |
|||
CREATE TABLE `topic_share_link_record` |
|||
( |
|||
`ID` varchar(64) NOT NULL COMMENT '邀请ID', |
|||
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户ID', |
|||
`GRID_ID` varchar(64) NOT NULL COMMENT '话题所属网格ID', |
|||
`GROUP_ID` varchar(64) NOT NULL COMMENT '小组ID', |
|||
`TOPIC_ID` varchar(64) NOT NULL COMMENT '话题ID', |
|||
`SHARE_USER_ID` varchar(64) NOT NULL COMMENT '分享人ID(当前登录用户)', |
|||
`INVITE_CONTENT` varchar(255) DEFAULT NULL COMMENT '邀请内容', |
|||
`DEL_FLAG` int(11) NOT NULL COMMENT '删除状态 0:正常,1:删除', |
|||
`REVISION` int(11) NOT NULL COMMENT '乐观锁', |
|||
`CREATED_BY` varchar(32) NOT NULL COMMENT '创建人', |
|||
`CREATED_TIME` datetime NOT NULL COMMENT '创建时间', |
|||
`UPDATED_BY` varchar(32) NOT NULL COMMENT '更新人', |
|||
`UPDATED_TIME` datetime NOT NULL COMMENT '更新时间', |
|||
PRIMARY KEY (`ID`) |
|||
) ENGINE = InnoDB |
|||
DEFAULT CHARSET = utf8mb4 COMMENT ='话题分享链接表'; |
|||
|
|||
#================================================================================= |
|||
|
|||
DROP TABLE IF EXISTS `topic_share_link_visit_record`; |
|||
CREATE TABLE `topic_share_link_visit_record` |
|||
( |
|||
`ID` varchar(64) NOT NULL, |
|||
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户ID', |
|||
`SHARE_USER_ID` varchar(64) NOT NULL COMMENT '分享人【邀请人】ID', |
|||
`INVITEE_USER_ID` varchar(64) NOT NULL COMMENT '被邀请人ID', |
|||
`SHARE_LINK_REC_ID` varchar(64) NOT NULL COMMENT '话题分享链接表id', |
|||
`IS_INVITE_REGISTER` int(11) NOT NULL COMMENT '是否邀请注册:0:是,1:不是;\n默认为1,完成注册后,回填此字段', |
|||
`DEL_FLAG` int(11) NOT NULL COMMENT '删除状态,0:正常,1:删除', |
|||
`REVISION` int(11) NOT NULL COMMENT '乐观锁', |
|||
`CREATED_BY` varchar(32) NOT NULL COMMENT '创建人', |
|||
`CREATED_TIME` datetime NOT NULL COMMENT '创建时间', |
|||
`UPDATED_BY` varchar(32) NOT NULL COMMENT '更新人', |
|||
`UPDATED_TIME` datetime NOT NULL COMMENT '更新时间', |
|||
PRIMARY KEY (`ID`) |
|||
) ENGINE = InnoDB |
|||
DEFAULT CHARSET = utf8mb4 COMMENT ='话题分享链接访问记录表'; |
Loading…
Reference in new issue