Skip to content

Commit b78d2f2

Browse files
committed
fix: model adds new field
1 parent 7b1230c commit b78d2f2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

app/src/main/resources/sql/mysql/create_model_ddl_2025_0717.sql

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@ drop table if exists `t_model`;
22

33
create table `t_model`
44
(
5-
`id` int not null auto_increment comment '主键id',
6-
`name_cn` varchar(255) comment '中文名称',
7-
`name_en` varchar(255) comment '英文名称',
5+
`id` int not null auto_increment comment '主键id',
6+
`name_cn` varchar(255) comment '中文名称',
7+
`name_en` varchar(255) comment '英文名称',
88
`version` varchar(255) comment '版本',
9+
`model_url` varchar(255) comment '模型url',
910
`parameters` varchar(2000) not null comment '字段参数',
1011
`method` longtext comment '方法',
1112
`description` varchar(2000) comment '描述',
1213
`created_by` varchar(60) not null comment '创建人',
1314
`created_time` timestamp not null default current_timestamp comment '创建时间',
1415
`last_updated_by` varchar(60) not null comment '最后修改人',
1516
`last_updated_time` timestamp not null default current_timestamp comment '更新时间',
16-
`tenant_id` varchar(60) comment '租户id',
17-
`renter_id` varchar(60) comment '业务租户id',
18-
`site_id` varchar(60) comment '站点id,设计预留字段',
17+
`tenant_id` varchar(60) comment '租户id',
18+
`renter_id` varchar(60) comment '业务租户id',
19+
`site_id` varchar(60) comment '站点id,设计预留字段',
1920
primary key (`id`) using btree,
2021
unique index `u_idx_model` (`name_cn`,`version`) using btree
2122
) engine = innodb comment = '模型表';

0 commit comments

Comments
 (0)