Closed edeandrea closed 3 years ago
Ok, yes, in that case I would do it with
quarkus.hibernate-orm.database.generation=validate
&& quarkus.datasource.devservices.image-name=quay.io/edeandrea/postgres-13-fruits:latest
.
So we need to add that property to the file. PR is coming...
Sub-issue of quarkus-for-spring-developers/project-management#29
When running
./mvnw quarkus:dev
the application does not start up because, inapplication.properties
,quarkus.hibernate-orm.database.generation
is set tovalidate
.Either dev services should be configured to an appropriate image (
quarkus.datasource.devservices.image-name=quay.io/edeandrea/postgres-13-fruits:latest
), orquarkus.hibernate-orm.database.generation
should be set todrop-and-create
.I don't really have a strong opinion @aureamunoz / @cmoulliard , although all the examples in Chapter 4 use
quarkus.hibernate-orm.database.generation=validate
while settingquarkus.datasource.devservices.image-name=quay.io/edeandrea/postgres-13-fruits:latest
. Maybe we should do that for consistency?