You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.6 KiB
SQL

USE push;
CREATE TABLE ab_message (
id bigint(20) NOT NULL AUTO_INCREMENT,
gmt_create datetime DEFAULT NULL,
gmt_modified datetime DEFAULT NULL,
rec_id bigint(20) DEFAULT NULL COMMENT '记录id',
pnum varchar(255) DEFAULT NULL COMMENT 'pnum',
act_name varchar(255) DEFAULT NULL COMMENT '业务名',
start_time datetime DEFAULT NULL COMMENT '业务开始时间',
client_type tinyint(1) DEFAULT NULL COMMENT '业务类别(1:A,2:B,3:C,4:D,5:E,6:F)',
app_id varchar(255) DEFAULT NULL COMMENT '上游推送用户id',
push_time datetime DEFAULT NULL COMMENT '上游推送时间',
send_status tinyint(1) DEFAULT 0 COMMENT '下游推送状态',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
USE push;
CREATE TABLE zhangmen_message (
id bigint(20) NOT NULL AUTO_INCREMENT,
gmt_create datetime DEFAULT NULL,
gmt_modified datetime DEFAULT NULL,
rec_id bigint(20) DEFAULT NULL COMMENT '记录id',
stu_name varchar(255) DEFAULT NULL COMMENT '报课学生名',
pnum varchar(255) DEFAULT NULL COMMENT 'pnum',
stu_grade tinyint(1) DEFAULT NULL COMMENT '报课年级',
stu_sub tinyint(1) DEFAULT NULL COMMENT '报课学科',
app_id varchar(255) DEFAULT NULL COMMENT '上游推送用户id',
push_time datetime DEFAULT NULL COMMENT '上游推送时间',
submit_status tinyint(1) DEFAULT 0 COMMENT '提交表单状态',
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;