diff --git a/backend/src/main/java/com/github/binpastes/config/DatabaseConfig.java b/backend/src/main/java/com/github/binpastes/config/DatabaseConfig.java index 0b46770..baf75bc 100644 --- a/backend/src/main/java/com/github/binpastes/config/DatabaseConfig.java +++ b/backend/src/main/java/com/github/binpastes/config/DatabaseConfig.java @@ -1,10 +1,11 @@ package com.github.binpastes.config; +import com.github.binpastes.BinPastes; import org.springframework.context.annotation.Configuration; import org.springframework.data.r2dbc.config.EnableR2dbcAuditing; import org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories; @Configuration -@EnableR2dbcRepositories +@EnableR2dbcRepositories(basePackageClasses = BinPastes.class) @EnableR2dbcAuditing public class DatabaseConfig {}