From dd97e849a534bfda856d405fffa651d3cd9a9e77 Mon Sep 17 00:00:00 2001 From: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Date: Fri, 8 Jul 2022 10:27:51 +0530 Subject: [PATCH] Fix #5905: Bootsrap Migration Fix (#5930) * Fix #5905: Bootsrap Migration Fix * Delete from ingestion_pipeline_entity --- .../v003__create_db_connection_info.sql | 2 ++ .../org.postgresql.Driver/v003__create_db_connection_info.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 bootstrap/sql/com.mysql.cj.jdbc.Driver/v003__create_db_connection_info.sql create mode 100644 bootstrap/sql/org.postgresql.Driver/v003__create_db_connection_info.sql diff --git a/bootstrap/sql/com.mysql.cj.jdbc.Driver/v003__create_db_connection_info.sql b/bootstrap/sql/com.mysql.cj.jdbc.Driver/v003__create_db_connection_info.sql new file mode 100644 index 00000000000..cb08f984d8b --- /dev/null +++ b/bootstrap/sql/com.mysql.cj.jdbc.Driver/v003__create_db_connection_info.sql @@ -0,0 +1,2 @@ +DELETE from ingestion_pipeline_entity where 1=1; +DELETE from entity_relationship where toEntity = 'ingestionPipeline'; \ No newline at end of file diff --git a/bootstrap/sql/org.postgresql.Driver/v003__create_db_connection_info.sql b/bootstrap/sql/org.postgresql.Driver/v003__create_db_connection_info.sql new file mode 100644 index 00000000000..cb08f984d8b --- /dev/null +++ b/bootstrap/sql/org.postgresql.Driver/v003__create_db_connection_info.sql @@ -0,0 +1,2 @@ +DELETE from ingestion_pipeline_entity where 1=1; +DELETE from entity_relationship where toEntity = 'ingestionPipeline'; \ No newline at end of file