feat: add frontend dev container to docker-compose #7
@@ -152,9 +152,9 @@ public class DataInitializer {
|
|||||||
.receivers(Set.of(maria))
|
.receivers(Set.of(maria))
|
||||||
.build());
|
.build());
|
||||||
|
|
||||||
// 5. Document with no title — tests fallback to originalFilename
|
// 5. Document with minimal metadata — tests sparse display
|
||||||
docRepo.save(Document.builder()
|
docRepo.save(Document.builder()
|
||||||
.title(null)
|
.title("Scan ohne Titel")
|
||||||
.originalFilename("scan_ohne_titel.pdf")
|
.originalFilename("scan_ohne_titel.pdf")
|
||||||
.status(DocumentStatus.UPLOADED)
|
.status(DocumentStatus.UPLOADED)
|
||||||
.documentDate(LocalDate.of(1978, 11, 20))
|
.documentDate(LocalDate.of(1978, 11, 20))
|
||||||
|
|||||||
@@ -8,6 +8,13 @@ spring:
|
|||||||
password: ${SPRING_DATASOURCE_PASSWORD}
|
password: ${SPRING_DATASOURCE_PASSWORD}
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
|
|
||||||
|
flyway:
|
||||||
|
enabled: true
|
||||||
|
locations: classpath:db/migration
|
||||||
|
url: ${SPRING_DATASOURCE_URL}
|
||||||
|
user: ${SPRING_DATASOURCE_USERNAME}
|
||||||
|
password: ${SPRING_DATASOURCE_PASSWORD}
|
||||||
|
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: none
|
ddl-auto: none
|
||||||
|
|||||||
Reference in New Issue
Block a user