diff --git a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml
index 7920566754..ff8a1154d8 100644
--- a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml
+++ b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/pom.xml
@@ -64,6 +64,14 @@
io.quarkus
quarkus-smallrye-health
+
+ io.quarkus
+ quarkus-flyway
+
+
+ io.quarkus
+ quarkus-jdbc-postgresql
+
io.quarkus
quarkus-junit5
@@ -111,10 +119,6 @@
org.kie.kogito
kogito-addons-quarkus-persistence-postgresql
-
- io.quarkus
- quarkus-jdbc-postgresql
-
diff --git a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/resources/postgresql.properties b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/resources/postgresql.properties
index 5117caeeaf..77a9be9a20 100644
--- a/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/resources/postgresql.properties
+++ b/kogito-quarkus-examples/process-postgresql-persistence-quarkus/src/main/resources/postgresql.properties
@@ -4,12 +4,8 @@ kogito.persistence.type=postgresql
quarkus.datasource.username=kogito-user
quarkus.datasource.password=kogito-pass
-quarkus.datasource.reactive.url=postgresql://localhost:5432/kogito
-quarkus.datasource.jdbc=false
+quarkus.datasource.jdbc.url=jdbc://localhost:5432/kogito
#run create tables scripts
quarkus.flyway.migrate-at-start=true
-quarkus.flyway.baseline-on-migrate=true
-quarkus.flyway.clean-at-start=true
-
diff --git a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/resources/postgresql.properties b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/resources/postgresql.properties
index c64b3063fd..45d272e9fc 100644
--- a/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/resources/postgresql.properties
+++ b/kogito-springboot-examples/process-postgresql-persistence-springboot/src/main/resources/postgresql.properties
@@ -6,6 +6,7 @@ kogito.persistence.type=postgresql
kogito.persistence.postgresql.connection.uri=postgresql://kogito-user:kogito-pass@localhost:5432/kogito
#run create tables scripts during the application startup
-kogito.persistence.auto.ddl=true
+spring.flyway.enabled=true
+spring.flyway.baseline-on-migrate=true