Browse Source

invitation_record

master
yinzuomei 4 years ago
parent
commit
3a13f81693
  1. 17
      epmet-module/resi-group/resi-group-server/src/main/resources/db/migration/V0.0.19__invitation_record.sql

17
epmet-module/resi-group/resi-group-server/src/main/resources/db/migration/V0.0.19__invitation_record.sql

@ -0,0 +1,17 @@
CREATE TABLE `invitation_record` (
`ID` varchar(64) NOT NULL COMMENT '主键',
`CUSTOMER_ID` varchar(64) NOT NULL COMMENT '客户id',
`GRID_ID` varchar(64) NOT NULL COMMENT '小组所属的网格id',
`GROUP_ID` varchar(64) NOT NULL COMMENT '小组id',
`SOURCE_TYPE` varchar(32) NOT NULL COMMENT 'act:活动;notice:通知',
`SOURCE_ID` varchar(64) NOT NULL COMMENT '活动id,或者通知id....',
`SHARE_USER_ID` varchar(64) NOT NULL COMMENT '分享人id',
`INVITE_CONTENT` varchar(255) DEFAULT NULL COMMENT '分享内容',
`DEL_FLAG` int(11) NOT NULL DEFAULT '0' 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`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='分享记录(话题、通知...后续支持增加)';
Loading…
Cancel
Save