Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,4 @@ CREATE TABLE `user_role` (
CONSTRAINT `fk_security_role_id` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;

LOCK TABLES `roles` WRITE;
INSERT INTO `roles` VALUES (1,'ROLE_ADMIN'),(2,'ROLE_USER');
UNLOCK TABLES;

Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
LOCK TABLES `roles` WRITE;
INSERT INTO `roles` VALUES (1,'ROLE_ADMIN'),(2,'ROLE_USER');
UNLOCK TABLES;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't the files in external modified the same way? jdk_8_maven/em/external/rest/blogapi/src/main/resources

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

LOCK TABLES `users` WRITE;
INSERT INTO `users` (first_name, last_name, username, password, email, address_id, phone, website, company_id, created_at, updated_at) VALUES ('foo can', 'adminoglu', 'user', '$2a$10$iTXPjffYCIaUBD3iGVcv..AT6mB21IpcBe50.HlC1rbDAIsutL1Qi', 'user@bar.com', null, null, null, null, '2025-02-11 14:51:00', '2025-02-11 14:51:00');
INSERT INTO `users` (first_name, last_name, username, password, email, address_id, phone, website, company_id, created_at, updated_at) VALUES ('admin gul', 'adminoglu', 'admin', '$2a$10$YZA7FB23laZhRhrWMChNsOoveLITZmrY7Ca9NEwuo67vLbXt1u6ky', 'admin@bar.com', null, null, null, null, '2025-02-11 14:51:20', '2025-02-11 14:51:20');
Expand Down