#
vincentlu
2 天以前 44153e246cc041180f8544e05d81f5432b14a808
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;
    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:正常,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;