Skip to content

Instantly share code, notes, and snippets.

@srdelarosa
Created April 1, 2021 03:23
Show Gist options
  • Save srdelarosa/cfd1644c37ba2bb5f89ad84815e591f3 to your computer and use it in GitHub Desktop.
Save srdelarosa/cfd1644c37ba2bb5f89ad84815e591f3 to your computer and use it in GitHub Desktop.
INSERT INTO `users` (username, password, active, first_name, last_name, email) VALUES ('srdelarosab','$2a$10$ykhXmCAam5FUEF9GN.4Z8OwwWJidvMii6VFYe77cmS2X6oF6p4W86',1, 'Renato', 'De la Rosa','[email protected]');
INSERT INTO `users` (username, password, active, first_name, last_name, email) VALUES ('admin','$2a$10$qGyDfZLBB.SgLv7GCP3uZe3oM38fVtr58T1iZ1LNOvO61loNUAAaK',1, 'Sergio', 'De la Rosa','[email protected]');
INSERT INTO `roles` (name) VALUES ('ROLE_USER');
INSERT INTO `roles` (name) VALUES ('ROLE_ADMIN');
INSERT INTO `users_roles` (user_id, role_id) VALUES (1, 1);
INSERT INTO `users_roles` (user_id, role_id) VALUES (2, 2);
INSERT INTO `users_roles` (user_id, role_id) VALUES (2, 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment