diff --git a/bootstrap/sql/migrations/native/1.2.1/mysql/postDataMigrationSQLScript.sql b/bootstrap/sql/migrations/native/1.2.1/mysql/postDataMigrationSQLScript.sql new file mode 100644 index 00000000000..e69de29bb2d diff --git a/bootstrap/sql/migrations/native/1.2.1/mysql/schemaChanges.sql b/bootstrap/sql/migrations/native/1.2.1/mysql/schemaChanges.sql new file mode 100644 index 00000000000..e69de29bb2d diff --git a/bootstrap/sql/migrations/native/1.2.1/postgres/postDataMigrationSQLScript.sql b/bootstrap/sql/migrations/native/1.2.1/postgres/postDataMigrationSQLScript.sql new file mode 100644 index 00000000000..e69de29bb2d diff --git a/bootstrap/sql/migrations/native/1.2.1/postgres/schemaChanges.sql b/bootstrap/sql/migrations/native/1.2.1/postgres/schemaChanges.sql new file mode 100644 index 00000000000..16144ff5bdd --- /dev/null +++ b/bootstrap/sql/migrations/native/1.2.1/postgres/schemaChanges.sql @@ -0,0 +1,11 @@ + +--fixed Query for updating viewParsingTimeoutLimit +UPDATE ingestion_pipeline_entity +SET json = jsonb_set( + json::jsonb #- '{sourceConfig,config,viewParsingTimeoutLimit}', + '{sourceConfig,config,queryParsingTimeoutLimit}', + (json #> '{sourceConfig,config,viewParsingTimeoutLimit}')::jsonb, + true +) +WHERE json #>> '{pipelineType}' = 'metadata' +AND json #>> '{sourceConfig,config,type}' = 'DatabaseMetadata'; \ No newline at end of file