sql für dev-mode

This commit is contained in:
mbremer
2021-09-16 12:41:03 +02:00
parent 87e38dbb54
commit bd35eff00b
3 changed files with 4 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ public class RoomResource {
@GET
@Path("/plan")
@Cache(maxAge = 43200) // 12H
@Cache(maxAge = 3600) // 1H
@Produces("image/*")
public Response getImage(@PathParam("image") String image) {
byte[] roomplan = imageService.getRoomplan();

View File

@@ -8,7 +8,8 @@ quarkus.datasource.db-kind=postgresql
quarkus.hibernate-orm.dialect=org.hibernate.dialect.PostgreSQL95Dialect
quarkus.flyway.migrate-at-start=true
%dev.quarkus.flyway.locations=db/migration,db/test/migration
# theoretische soll auch 'filesystem:' funktionieren
%dev.quarkus.flyway.locations=db/migration,db/dev/migration
# Security
quarkus.http.auth.form.enabled=true