Merge pull request 'chore: Update branch' (#3) from Maradona/Backend:restfull into restfull

Reviewed-on: #3
pull/1/head
Piotr Jakubiak 2024-11-08 14:14:00 +01:00
commit bc2604b2ca
1 changed files with 5 additions and 5 deletions

View File

@ -33,13 +33,13 @@ public class DefaultValueLoader implements CommandLineRunner {
private FormOfAddressRepository formOfAddressRepository;
@Override
public void run(String... args) throws Exception {
public void run(String... args) {
// Clear all tables
// formOfAddressRepository.deleteAll();
// employeeRepository.deleteAll();
// secondarySkillRepository.deleteAll();
// primarySkillRepository.deleteAll();
employeeRepository.deleteAll();
secondarySkillRepository.deleteAll();
primarySkillRepository.deleteAll();
formOfAddressRepository.deleteAll();
// Create form of addresses
FormOfAddress formOfAddress1 = new FormOfAddress();