fix 修复 mysql sys_notice 与 sys_config 表主键类型长度不够问题

This commit is contained in:
疯狂的狮子Li
2022-06-28 21:09:30 +08:00
parent 5e73b88a8a
commit 181eaefea8
2 changed files with 6 additions and 2 deletions

View File

@ -8,3 +8,7 @@ update sys_oss_config set endpoint = 'cos.ap-beijing.myqcloud.com' where oss_con
insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', '127.0.0.1:9000', 'N', '', '1', '', 'admin', sysdate(), 'admin', sysdate(), NULL, '');
alter table gen_table_column modify column table_id bigint(0) null default null COMMENT '归属表编号';
alter table sys_notice modify column notice_id bigint(0) not null COMMENT '公告ID';
alter table sys_config modify column config_id bigint(0) not null COMMENT '参数主键';