Skip to content
Snippets Groups Projects
Commit aa840ae7 authored by Lukas Karsch's avatar Lukas Karsch
Browse files

logging for Seeding.java

parent eb9d7b60
No related branches found
No related tags found
1 merge request!15#29 Pagination for Plants endpoint w/ CustomPageDTO
......@@ -25,6 +25,7 @@ public class Seeding {
return (args) -> {
if (plantRepository.count() > 0) {
log.info("Plants table is not empty, seeding will be skipped.");
log.info("If you wish to seed the database, manually clear the plants table and re-run the application.");
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment