mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-26 00:32:34 +03:00
add feature tests for ProductService
This commit is contained in:
@@ -11,7 +11,7 @@ import org.springframework.data.relational.core.mapping.Table
|
||||
import java.time.OffsetDateTime
|
||||
import java.util.*
|
||||
|
||||
@Table(value = "product", schema = "public")
|
||||
@Table(value = "product")
|
||||
@Serializable
|
||||
data class Product(
|
||||
@Id
|
||||
|
||||
@@ -8,7 +8,7 @@ spring:
|
||||
password: postgres
|
||||
driver-class-name: org.postgresql.Driver
|
||||
hikari:
|
||||
schema: demo
|
||||
schema: public
|
||||
flyway: #flyway automatically uses the datasource from the application to connect to the DB
|
||||
enabled: true # enables flyway database migration
|
||||
locations: classpath:db/migration/structure, classpath:db/migration/data # the location where flyway should look for migration scripts
|
||||
|
||||
Reference in New Issue
Block a user