quick reply

This commit is contained in:
Hankin 2025-05-07 17:57:04 +08:00
parent b3d592b779
commit 3c7c2f8440
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,8 @@
CREATE TABLE `ufutx_quick_reply_cate` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` int NOT NULL COMMENT "用户id",
`name` varchar(50) NOT NULL COMMENT "名称",
`created_at` TIMESTAMP NULL DEFAULT NULL ,
`updated_at` TIMESTAMP NULL DEFAULT NULL ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT = '快捷回复分类';

View File

@ -0,0 +1,2 @@
ALTER TABLE `ufutx_quick_reply`
ADD COLUMN `cate_id` int DEFAULT 0 COMMENT "分类id" after `user_id`

View File

@ -0,0 +1,2 @@
ALTER TABLE `ufutx_quick_reply`
MODIFY `type` ENUM('PERSONAL', 'DAILY', 'CUSTOM');