update 优化 text 设置默认值某些版本可能有问题 改为默认null

This commit is contained in:
疯狂的狮子Li 2025-03-05 15:33:00 +08:00
parent 15eb08c065
commit ad01406fc1

View File

@ -828,7 +828,7 @@ create table sys_oss (
original_name varchar(255) not null default '' comment '原名', original_name varchar(255) not null default '' comment '原名',
file_suffix varchar(10) not null default '' comment '文件后缀名', file_suffix varchar(10) not null default '' comment '文件后缀名',
url varchar(500) not null comment 'URL地址', url varchar(500) not null comment 'URL地址',
ext1 text default '' comment '扩展字段', ext1 text default null comment '扩展字段',
create_dept bigint(20) default null comment '创建部门', create_dept bigint(20) default null comment '创建部门',
create_time datetime default null comment '创建时间', create_time datetime default null comment '创建时间',
create_by bigint(20) default null comment '上传人', create_by bigint(20) default null comment '上传人',