Skip to content

Commit

Permalink
fix(r2dbc): config now links to SpringBootApplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan committed Apr 7, 2024
1 parent d72c6aa commit bcd497a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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 {}

0 comments on commit bcd497a

Please sign in to comment.