fix: Update DefaultValueLoader
parent
6fa2179aff
commit
db2d924b10
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue