
DELETE FROM roles;
DELETE FROM users;
DELETE FROM user_role;

INSERT INTO roles (id, name) VALUES 
(1, 'ROLE_ADMIN'),
(2, 'ROLE_ACTUATOR'),
(3, 'ROLE_USER');

INSERT INTO users (id, username, password, name) VALUES 
(1, 'admin', '$2a$10$BsbENHEAka/4OMaIY7feoOTv17SmbdCN53BtLdJWgZn14dY8bvieu', 'Dani Garcia'),
(3, 'user', '$2a$10$BsbENHEAka/4OMaIY7feoOTv17SmbdCN53BtLdJWgZn14dY8bvieu', 'Fran Grimaldo');

INSERT INTO user_role(user_id, role_id) VALUES
(1,1),
(1,2),
(1,3),
(3,3);
