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.

12 lines
898 B
SQL

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

USE `docus_medicalrecord`;
CREATE TABLE `unify_message` (
`id` bigint(20) NOT NULL COMMENT '主键',
`message` longtext COMMENT '接收到的消息',
`method` varchar(255) DEFAULT NULL COMMENT '转发方法',
`create_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '消息接收时间',
`state` int(1) DEFAULT NULL COMMENT '状态 0:失败 1成功',
PRIMARY KEY (`id`),
KEY `idx_unify_message_create_time` (`create_time`) USING BTREE,
KEY `idx_unify_message_method` (`method`) USING BTREE,
KEY `idx_unify_message_state` (`state`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;