diff options
Diffstat (limited to '')
-rw-r--r-- | src/main/java/com/terminaldweller/doc/DocConfig.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/terminaldweller/doc/DocConfig.java b/src/main/java/com/terminaldweller/doc/DocConfig.java index b75b0d4..8b45535 100644 --- a/src/main/java/com/terminaldweller/doc/DocConfig.java +++ b/src/main/java/com/terminaldweller/doc/DocConfig.java @@ -11,8 +11,8 @@ public class DocConfig { @Bean CommandLineRunner commandLineRunner(DocRepository repository) { return args -> { - Doc mydoc1 = new Doc("mydoc1", 0L, ""); - Doc mydoc2 = new Doc("mydoc2", 0L, ""); + Doc mydoc1 = new Doc(11L, "mydoc1", 0L, "a one"); + Doc mydoc2 = new Doc(111L, "mydoc2", 0L, "and a two"); repository.saveAll(List.of(mydoc1, mydoc2)); }; |