1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 06:51:23 +08:00

Modify Insert.sql

This commit is contained in:
ggb
2023-06-10 19:07:02 +08:00
parent e4c3271b1e
commit d0f549492d

View File

@@ -1,4 +1,5 @@
SET FOREIGN_KEY_CHECKS = 0;
SET
FOREIGN_KEY_CHECKS = 0;
truncate t_menu;
truncate t_element;
@@ -598,4 +599,8 @@ insert into t_operation (id, name, code, power_id, element_id, parent_id)
VALUES (103010105, '修改用户', 'system:user:modify', id, 103010100, null);
commit;
SET FOREIGN_KEY_CHECKS = 1;
SET
FOREIGN_KEY_CHECKS = 1;
insert into t_user(id, username, passwd, enable)
values (1, 'admin', '$2a$10$z/L1BXim1WgFJQxa4v8oOOm1morCUB74ipmUwmk2FlYrI8WAkIBMq', 1);