fix: Update DefaultValueLoader

pull/1/head
Lunix-420 2024-11-08 14:05:52 +01:00
parent 6fa2179aff
commit db2d924b10
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();