OpenMetadata/bootstrap/sql/migrations/native/1.10.8/mysql/postDataMigrationSQLScript.sql

6 lines
405 B
SQL

-- Fix emailConfiguration templates field for users affected by v1.8.0 bug
-- See commit: https://github.com/open-metadata/OpenMetadata/commit/a50cddf665544b0934ce79a539aecbb00bd541c8
-- This migration ensures all emailConfiguration records have the correct 'openmetadata' value
UPDATE openmetadata_settings
SET json = JSON_SET(json, '$.templates', 'openmetadata')
WHERE configType = 'emailConfiguration';