From c424f3613f844d565204dbad8e1b47f8ac3a65ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Tue, 8 Apr 2025 10:39:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E4=B8=AD=E5=BF=83sql?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sqls/250403/tb_sync_notice.sql | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sqls/250403/tb_sync_notice.sql b/sqls/250403/tb_sync_notice.sql index 69f2f028..bf02edad 100644 --- a/sqls/250403/tb_sync_notice.sql +++ b/sqls/250403/tb_sync_notice.sql @@ -1,14 +1,12 @@ CREATE TABLE `tb_sync_notice` ( `id` bigint NOT NULL AUTO_INCREMENT, - `name` varchar(255) DEFAULT NULL COMMENT '商品名称或耗材名称', - `source_id` bigint DEFAULT NULL COMMENT '来源id', - `sys_user_id` bigint DEFAULT NULL COMMENT '操作用户id', - `type` tinyint DEFAULT NULL COMMENT '通知类型 0 商品变动 1 耗材变动', - `is_read` tinyint DEFAULT '0' COMMENT '是否已读,1已读', `shop_id` bigint DEFAULT NULL COMMENT '店铺id', + `sys_user_id` bigint DEFAULT NULL COMMENT '操作用户id', + `type` tinyint DEFAULT NULL COMMENT '通知类型 0 商品新增 1 商品编辑 2耗材新增 3耗材编辑\r\n', + `is_read` tinyint DEFAULT '0' COMMENT '是否已读,1已读', `create_time` datetime DEFAULT NULL COMMENT '创建时间', `read_time` datetime DEFAULT NULL COMMENT '已读时间', - `operation_type` tinyint DEFAULT NULL COMMENT '操作类型 0 新增 1 修改', `content` varchar(255) DEFAULT NULL COMMENT '消息内容', + `extra_json` varchar(255) DEFAULT NULL COMMENT '拓展信息', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;