CREATE TABLE `health`.`ufutx_group_file` (
    `id` BIGINT NOT NULL AUTO_INCREMENT,
    `group_id` BIGINT NOT NULL COMMENT "群聊id",
    `im_chat_id` VARCHAR(20) NOT NULL COMMENT "云信群id",
    `user_id` BIGINT NOT NULL COMMENT "用户id",
    `name` VARCHAR(100) NOT NULL COMMENT '文件名',
    `ext` VARCHAR(50) NOT NULL COMMENT '文件格式',
    `url` VARCHAR(255) DEFAULT NULL COMMENT '文件地址',
    `size` BIGINT NOT NULL COMMENT "尺寸",
    `is_recall` TINYINT DEFAULT 0 COMMENT "是否撤销, 0:否,1:是",
    `im_msg_id` VARCHAR(255) NOT NULL COMMENT "云信消息id",
    `msg_timestamp` VARCHAR(15) NOT NULL COMMENT "聊天时间",
    `created_at` TIMESTAMP NULL DEFAULT NULL,
    `updated_at` TIMESTAMP NULL DEFAULT NULL,
    `deleted_at` TIMESTAMP NULL DEFAULT NULL,
    PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = '群聊文件';