This is an automated email from the ASF dual-hosted git repository.
pefernan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-apps.git
The following commit(s) were added to refs/heads/main by this push:
new 8d0f79cf6 kie-issues#1802: Flyway conflict migrating Data-Index
(Postgresql) (#2186)
8d0f79cf6 is described below
commit 8d0f79cf60a5d697e3ba9384f8c453eb3e2ee904
Author: Pere Fernández <[email protected]>
AuthorDate: Tue Feb 11 10:47:45 2025 +0100
kie-issues#1802: Flyway conflict migrating Data-Index (Postgresql) (#2186)
---
.../src/main/resources/kie-flyway/db/data-index/ansi/readme.txt | 5 ++++-
.../main/resources/kie-flyway/db/data-index/postgresql/readme.txt | 5 ++++-
...words.sql => V1.45.0.9.1__modify_columns_with_reserved_words.sql} | 0
.../resources/kie-flyway/db/persistence-commons}/ansi/readme.txt | 5 ++++-
...words.sql => V1.45.0.9.1__modify_columns_with_reserved_words.sql} | 0
.../kie-flyway/db/persistence-commons/postgresql/readme.txt | 5 +++++
6 files changed, 17 insertions(+), 3 deletions(-)
diff --git
a/data-index/data-index-storage/data-index-storage-jpa/src/main/resources/kie-flyway/db/data-index/ansi/readme.txt
b/data-index/data-index-storage/data-index-storage-jpa/src/main/resources/kie-flyway/db/data-index/ansi/readme.txt
index e08db4d0a..49de4c8f4 100644
---
a/data-index/data-index-storage/data-index-storage-jpa/src/main/resources/kie-flyway/db/data-index/ansi/readme.txt
+++
b/data-index/data-index-storage/data-index-storage-jpa/src/main/resources/kie-flyway/db/data-index/ansi/readme.txt
@@ -1,2 +1,5 @@
Ensure migration scripts are developed to support several executions over the
same database without any error.
-This feature will make sure this migration execution would be compatible with
other needed flyway migrations without broking the chain.
\ No newline at end of file
+This feature will make sure this migration execution would be compatible with
other needed flyway migrations without broking the chain.
+
+IMPORTANT: Due to the strong dependency between this module and
persistence-commons-jpa please be sure that any new
+Flyway migration added here uses a consistent version that doesn't collide
with persistence-commons-jpa
\ No newline at end of file
diff --git
a/data-index/data-index-storage/data-index-storage-postgresql/src/main/resources/kie-flyway/db/data-index/postgresql/readme.txt
b/data-index/data-index-storage/data-index-storage-postgresql/src/main/resources/kie-flyway/db/data-index/postgresql/readme.txt
index e08db4d0a..72b573c14 100644
---
a/data-index/data-index-storage/data-index-storage-postgresql/src/main/resources/kie-flyway/db/data-index/postgresql/readme.txt
+++
b/data-index/data-index-storage/data-index-storage-postgresql/src/main/resources/kie-flyway/db/data-index/postgresql/readme.txt
@@ -1,2 +1,5 @@
Ensure migration scripts are developed to support several executions over the
same database without any error.
-This feature will make sure this migration execution would be compatible with
other needed flyway migrations without broking the chain.
\ No newline at end of file
+This feature will make sure this migration execution would be compatible with
other needed flyway migrations without broking the chain.
+
+IMPORTANT: Due to the strong dependency between this module and
persistence-commons-postgresql please be sure that any new
+Flyway migration added here uses a consistent version that doesn't collide
with persistence-commons-postgresql
\ No newline at end of file
diff --git
a/persistence-commons/persistence-commons-jpa/src/main/resources/kie-flyway/db/persistence-commons/ansi/V1.5.1__modify_columns_with_reserved_words.sql
b/persistence-commons/persistence-commons-jpa/src/main/resources/kie-flyway/db/persistence-commons/ansi/V1.45.0.9.1__modify_columns_with_reserved_words.sql
similarity index 100%
rename from
persistence-commons/persistence-commons-jpa/src/main/resources/kie-flyway/db/persistence-commons/ansi/V1.5.1__modify_columns_with_reserved_words.sql
rename to
persistence-commons/persistence-commons-jpa/src/main/resources/kie-flyway/db/persistence-commons/ansi/V1.45.0.9.1__modify_columns_with_reserved_words.sql
diff --git
a/data-index/data-index-storage/data-index-storage-jpa/src/main/resources/kie-flyway/db/data-index/ansi/readme.txt
b/persistence-commons/persistence-commons-jpa/src/main/resources/kie-flyway/db/persistence-commons/ansi/readme.txt
similarity index 51%
copy from
data-index/data-index-storage/data-index-storage-jpa/src/main/resources/kie-flyway/db/data-index/ansi/readme.txt
copy to
persistence-commons/persistence-commons-jpa/src/main/resources/kie-flyway/db/persistence-commons/ansi/readme.txt
index e08db4d0a..6bf866e6a 100644
---
a/data-index/data-index-storage/data-index-storage-jpa/src/main/resources/kie-flyway/db/data-index/ansi/readme.txt
+++
b/persistence-commons/persistence-commons-jpa/src/main/resources/kie-flyway/db/persistence-commons/ansi/readme.txt
@@ -1,2 +1,5 @@
Ensure migration scripts are developed to support several executions over the
same database without any error.
-This feature will make sure this migration execution would be compatible with
other needed flyway migrations without broking the chain.
\ No newline at end of file
+This feature will make sure this migration execution would be compatible with
other needed flyway migrations without broking the chain.
+
+IMPORTANT: Due to the strong dependency between this module and
data-index-storage-jpa please be sure that any new
+Flyway migration added here uses a consistent version that doesn't collide
with data-index-storage-jpa
\ No newline at end of file
diff --git
a/persistence-commons/persistence-commons-postgresql/src/main/resources/kie-flyway/db/persistence-commons/postgresql/V1.5.1__modify_columns_with_reserved_words.sql
b/persistence-commons/persistence-commons-postgresql/src/main/resources/kie-flyway/db/persistence-commons/postgresql/V1.45.0.9.1__modify_columns_with_reserved_words.sql
similarity index 100%
rename from
persistence-commons/persistence-commons-postgresql/src/main/resources/kie-flyway/db/persistence-commons/postgresql/V1.5.1__modify_columns_with_reserved_words.sql
rename to
persistence-commons/persistence-commons-postgresql/src/main/resources/kie-flyway/db/persistence-commons/postgresql/V1.45.0.9.1__modify_columns_with_reserved_words.sql
diff --git
a/persistence-commons/persistence-commons-postgresql/src/main/resources/kie-flyway/db/persistence-commons/postgresql/readme.txt
b/persistence-commons/persistence-commons-postgresql/src/main/resources/kie-flyway/db/persistence-commons/postgresql/readme.txt
new file mode 100644
index 000000000..d52903364
--- /dev/null
+++
b/persistence-commons/persistence-commons-postgresql/src/main/resources/kie-flyway/db/persistence-commons/postgresql/readme.txt
@@ -0,0 +1,5 @@
+Ensure migration scripts are developed to support several executions over the
same database without any error.
+This feature will make sure this migration execution would be compatible with
other needed flyway migrations without broking the chain.
+
+IMPORTANT: Due to the strong dependency between this module and
data-index-storage-postgresql please be sure that any new
+Flyway migration added here uses a consistent version that doesn't collide
with data-index-storage-postgresql
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]