From 08a630ab8c3552ae64afd1cf98510c064978d8e6 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期四, 26 二月 2026 14:38:57 +0800
Subject: [PATCH] #

---
 version/db/new.sql |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/version/db/new.sql b/version/db/new.sql
index f8396a3..6602b0b 100644
--- a/version/db/new.sql
+++ b/version/db/new.sql
@@ -62,4 +62,32 @@
 update man_loc set comp_direct =2  where comp_direct =0
 
 alter table man_sta
-    add act_dir int(1) null comment '璐у弶鏂瑰悜' after angle;
\ No newline at end of file
+    add act_dir int(1) null comment '璐у弶鏂瑰悜' after angle;
+
+
+
+
+-- auto-generated definition
+create table man_guarantee
+(
+    id             bigint unsigned auto_increment comment 'ID'
+        primary key,
+    uuid           varchar(255)                        null comment '鏍囪瘑',
+    name           varchar(255)                        null comment '鍚嶇О(*)',
+    scope_type     varchar(255)                        null comment '浣滅敤鑼冨洿',
+    scope_value    varchar(255)                        null comment '鑼冨洿鍊�',
+    cron_expr      varchar(255)                        null comment '璋冨害鏃堕棿',
+    required_count int                                 null comment '鐩爣鏁伴噺',
+    min_soc        int                                 null comment '鏈�浣庣數閲�',
+    lead_time      int                                 null comment '鍑嗗鏃堕棿',
+    status         int(1)    default 1                 not null comment '鐘舵�亄1:姝e父,0:鍐荤粨}',
+    deleted        int(1)    default 0                 not null comment '鏄惁鍒犻櫎{1:鏄�,0:鍚',
+    tenant_id      int                                 null comment '绉熸埛[sys_tenant]',
+    create_by      bigint                              null comment '娣诲姞浜哄憳[sys_user]',
+    create_time    timestamp default CURRENT_TIMESTAMP not null comment '娣诲姞鏃堕棿',
+    update_by      bigint                              null comment '淇敼浜哄憳[sys_user]',
+    update_time    timestamp default CURRENT_TIMESTAMP null comment '淇敼鏃堕棿',
+    memo           varchar(255)                        null comment '澶囨敞'
+)
+    charset = utf8;
+

--
Gitblit v1.9.1