You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
271 B
SQL

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

alter table tb_core_role add ancestor_id varchar(1000) null comment '祖级ID' after parent_id;
-- 需要手动把tb_core_role表的ancestor_id字段数据补齐值是所有祖父级ID
alter table tb_core_role modify status int(1) default 1 null comment '状态';