Skip to content

Commit

Permalink
no default coordinates created on init
Browse files Browse the repository at this point in the history
  • Loading branch information
gmonso committed Dec 13, 2023
1 parent 61144f8 commit 20cb7da
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,5 @@ public void initializeDatabase() {
userRepository.save(user);
}
}
if (coordinateRepository.count() == 0){
int i = 0;
while (coordinateRepository.count() < 20){
Coordinate c = new Coordinate();
c.setCoordinate("41.40338,2." + (17403+i));
coordinateRepository.save(c);
i++;
}
}
}
}

0 comments on commit 20cb7da

Please sign in to comment.