18 lines
998 B
MySQL
18 lines
998 B
MySQL
|
|
create table fad_oa.socket_message
|
||
|
|
(
|
||
|
|
id int auto_increment comment '主键id'
|
||
|
|
primary key,
|
||
|
|
contact_id int not null comment '接收者id',
|
||
|
|
user_id int not null comment '发送者id',
|
||
|
|
content varchar(500) null comment '发送信息内容',
|
||
|
|
room_id int null comment '房间号(针对群聊开发)',
|
||
|
|
create_time datetime default CURRENT_TIMESTAMP null comment '创建时间',
|
||
|
|
create_by varchar(255) null comment '创建人',
|
||
|
|
update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间',
|
||
|
|
update_by varchar(255) null comment '更新人',
|
||
|
|
del_flag tinyint default 0 not null comment '删除标志',
|
||
|
|
remark varchar(255) null comment '备注'
|
||
|
|
)
|
||
|
|
comment '对话信息表';
|
||
|
|
|