diff --git a/script/sql/ry_20210908.sql b/script/sql/ry_vue_4.0.sql similarity index 100% rename from script/sql/ry_20210908.sql rename to script/sql/ry_vue_4.0.sql diff --git a/script/sql/update/update-3.X-4.0.sql b/script/sql/update/update-3.X-4.0.sql new file mode 100644 index 00000000..de411784 --- /dev/null +++ b/script/sql/update/update-3.X-4.0.sql @@ -0,0 +1,6 @@ +ALTER TABLE `sys_user` MODIFY COLUMN `user_type` varchar(10) DEFAULT 'sys_user' COMMENT '用户类型(sys_user系统用户)' AFTER `nick_name`; + +UPDATE `sys_user` SET `nick_name` = '疯狂的狮子Li', `user_type` = 'sys_user', `email` = 'crazyLionLi@163.com' WHERE `user_id` = 1; +UPDATE `sys_user` SET `user_name` = 'lionli', `nick_name` = '疯狂的狮子Li', `user_type` = 'sys_user', `email` = 'crazyLionLi@163.com' WHERE `user_id` = 2; +UPDATE `sys_user` SET `user_type` = 'sys_user' WHERE `user_id` = 3; +UPDATE `sys_user` SET `user_type` = 'sys_user' WHERE `user_id` = 4;