diff --git a/bootstrap/sql/migrations/native/1.4.0/mysql/schemaChanges.sql b/bootstrap/sql/migrations/native/1.4.0/mysql/schemaChanges.sql new file mode 100644 index 00000000000..06035180588 --- /dev/null +++ b/bootstrap/sql/migrations/native/1.4.0/mysql/schemaChanges.sql @@ -0,0 +1,4 @@ +-- Add the supportsProfiler field to the MongoDB connection configuration +UPDATE dbservice_entity +SET json = JSON_INSERT(json, '$.connection.config.supportsProfiler', TRUE) +WHERE serviceType = 'MongoDB'; \ No newline at end of file diff --git a/bootstrap/sql/migrations/native/1.4.0/postgres/schemaChanges.sql b/bootstrap/sql/migrations/native/1.4.0/postgres/schemaChanges.sql new file mode 100644 index 00000000000..c8b6830c129 --- /dev/null +++ b/bootstrap/sql/migrations/native/1.4.0/postgres/schemaChanges.sql @@ -0,0 +1,4 @@ +-- Add the supportsProfiler field to the MongoDB connection configuration +UPDATE dbservice_entity +SET json = jsonb_set(json::jsonb, '{connection,config,supportsProfiler}', 'true'::jsonb) +WHERE serviceType = 'MongoDB'; \ No newline at end of file