From 44153e246cc041180f8544e05d81f5432b14a808 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期三, 04 三月 2026 07:52:45 +0800
Subject: [PATCH] #

---
 version/db/new.sql |   38 +++++++++++++++++++++++++++++++++++---
 1 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/version/db/new.sql b/version/db/new.sql
index 8518d65..7e918df 100644
--- a/version/db/new.sql
+++ b/version/db/new.sql
@@ -14,8 +14,6 @@
     ON man_travel (agv_id, state, roller_waiting, deleted);
 
 
-
-
 alter table man_sta
     add height decimal(24, 9) null comment '浣滀笟楂樺害' after offset;
 
@@ -62,4 +60,38 @@
 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;
+
+
+alter table man_agv_model
+    add head_offset int(11) null comment '杞﹀ご(姣背)' after length;
+
+alter table man_agv_model
+    add tail_offset int(11) null comment '杞﹀熬(姣背)' after head_offset;

--
Gitblit v1.9.1