ai_mcp.sql 1.4 KB

12345678910111213141516171819202122
  1. create table ai_mcp
  2. (
  3. id bigint auto_increment
  4. primary key,
  5. tenant_id varchar(255) default '000000' not null comment '租户id',
  6. name varchar(255) default '' not null comment 'mcp名称',
  7. introduce varchar(255) default '' not null comment '简介',
  8. input_data text null comment '输入',
  9. output_data text null comment '输出',
  10. url varchar(255) default '' not null comment '请求地址',
  11. sort int default 0 not null comment '排序规则',
  12. agent_id bigint default 0 not null comment '智能体id',
  13. status int default 0 not null comment '状态:0-正常;1-禁用',
  14. create_dept varchar(255) default '' not null comment '创建部门',
  15. create_by bigint default 0 not null comment '创建人',
  16. create_time datetime default CURRENT_TIMESTAMP not null comment '创建时间',
  17. update_by bigint default 0 not null comment '更新时间',
  18. update_time datetime default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment '更新时间',
  19. remark text not null comment '备注'
  20. )
  21. comment '模型上下文协议' collate = utf8mb4_general_ci;