diff --git a/bootstrap/sql/migrations/native/1.4.2/mysql/schemaChanges.sql b/bootstrap/sql/migrations/native/1.4.2/mysql/schemaChanges.sql index e69de29bb2d1..c4ed21e371b5 100644 --- a/bootstrap/sql/migrations/native/1.4.2/mysql/schemaChanges.sql +++ b/bootstrap/sql/migrations/native/1.4.2/mysql/schemaChanges.sql @@ -0,0 +1 @@ +ALTER TABLE ingestion_pipeline_entity ADD COLUMN appType VARCHAR(256) GENERATED ALWAYS AS (json ->> '$.sourceConfig.config.appConfig.type') STORED NULL; \ No newline at end of file diff --git a/bootstrap/sql/migrations/native/1.4.2/postgres/schemaChanges.sql b/bootstrap/sql/migrations/native/1.4.2/postgres/schemaChanges.sql index e69de29bb2d1..c1b1cda7abc2 100644 --- a/bootstrap/sql/migrations/native/1.4.2/postgres/schemaChanges.sql +++ b/bootstrap/sql/migrations/native/1.4.2/postgres/schemaChanges.sql @@ -0,0 +1 @@ +ALTER TABLE ingestion_pipeline_entity ADD COLUMN appType VARCHAR(256) GENERATED ALWAYS AS (json -> 'sourceConfig' -> 'config' -> 'appConfig' ->> 'type') STORED NULL; \ No newline at end of file