Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
543 B
4
Indexable
Never
INSERT INTO user (user_id, user_account, user_password, user_create_time, user_deleted)
       VALUES (1, 'admin', '$2a$12$RtKhDBN9Ba8UlVcAulEenOsxqHK5ZNQ1Lj62508aqPwg9Jbbv6/c2', '1655989807', 0);


INSERT INTO role (role_id, role_name) VALUES (1, 'ROLE_ADMIN');
INSERT INTO role (role_id, role_name) VALUES (2, 'ROLE_MANAGER');
INSERT INTO role (role_id, role_name) VALUES (3, 'ROLE_EMPLOYEE');
INSERT INTO role (role_id, role_name) VALUES (4, 'ROLE_MEMBER');
INSERT INTO user_role (user_role_id, user_id, role_id) VALUES (1, 1, 1);