create table ai_agent
(
    id          bigint auto_increment
        primary key,
    tenant_id   varchar(255) default '000000'          not null comment '租户id',
    name        varchar(255) default ''                not null comment '智能体名称',
    description varchar(255) default ''                not null comment '描述',
    create_dept varchar(255) default ''                not null,
    create_by   bigint       default 0                 not null,
    create_time datetime     default CURRENT_TIMESTAMP not null comment '创建时间',
    update_by   bigint       default 0                 not null,
    update_time datetime     default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP,
    remark      text                                   null
)
    comment '智能体' collate = utf8mb4_general_ci;

INSERT INTO ruoyi.ai_agent (id, tenant_id, name, description, create_dept, create_by, create_time, update_by, update_time, remark) VALUES (1969057611299020801, '000000', '测试智能体', '测试智能体描述', '103', 1, '2025-09-19 23:14:53', 1, '2025-09-19 23:14:53', '啦啦啦');
