fix: add url field

This commit is contained in:
Erik Foris 2024-06-21 11:34:40 +02:00
parent 65d9e8ea1f
commit efd3c7ddb7

View File

@ -21,8 +21,8 @@ public class LoadDummyDatabase {
return args -> {
for (int i = 0; i < 100; i++) {
Dataset dataset = new Dataset("Title" + i, "Abst" + i, "Description" + i, "Author" + i, new Date(0), new String[]{"Category" + i}, Type.API);
for (int i = 0; i < 1000; i++) {
Dataset dataset = new Dataset("Title" + i, "Abst" + i, "Description" + i, "Author" + i, new String[]{"Category" + i}, Type.API);
repository.save(dataset);
log.info("Preloading" + repository.save(dataset));
}