CommandLineRunner commandLineRunner()

in src/main/java/com/example/blog/BlogApplication.java [18:24]


	CommandLineRunner commandLineRunner(PostRepository postRepository) {
		return args -> {
			Post post = new Post();
			post.setTitle("This is my first comment");
			postRepository.save(post);
		};
	}