mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-12 19:48:26 +00:00

* [Backend][Slack] Slack integration with UI * [Backend][Slack] Slack integration with UI - removed unused jdbi * [Backend][Slack] Slack integration with UI - URL fix + init webhook url during initialization * [Backend][Slack] Slack integration with UI - remove slack * [Backend][Slack] add Slack generic to exisiting jsons * [Backend][Slack] PG fix and Java CheckStyle
37 lines
1.1 KiB
SQL
37 lines
1.1 KiB
SQL
UPDATE team_entity
|
|
SET json = JSON_INSERT(json, '$.teamType', 'Department');
|
|
|
|
ALTER TABLE team_entity
|
|
ADD teamType VARCHAR(64) GENERATED ALWAYS AS (json ->> '$.teamType') NOT NULL;
|
|
|
|
UPDATE dbservice_entity
|
|
SET json = JSON_REMOVE(json, '$.connection.config.database')
|
|
WHERE serviceType = 'DynamoDB';
|
|
|
|
UPDATE dbservice_entity
|
|
SET json = JSON_REMOVE(json, '$.connection.config.connectionOptions')
|
|
WHERE serviceType = 'DeltaLake';
|
|
|
|
UPDATE dashboard_service_entity
|
|
SET json = JSON_INSERT(
|
|
JSON_REMOVE(json, '$.connection.config.username'),
|
|
'$.connection.config.clientId',
|
|
JSON_EXTRACT(json, '$.connection.config.username')
|
|
)
|
|
WHERE serviceType = 'Looker';
|
|
|
|
UPDATE dashboard_service_entity
|
|
SET json = JSON_INSERT(
|
|
JSON_REMOVE(json, '$.connection.config.password'),
|
|
'$.connection.config.clientSecret',
|
|
JSON_EXTRACT(json, '$.connection.config.password')
|
|
)
|
|
WHERE serviceType = 'Looker';
|
|
|
|
UPDATE dashboard_service_entity
|
|
SET json = JSON_REMOVE(json, '$.connection.config.env')
|
|
WHERE serviceType = 'Looker';
|
|
|
|
UPDATE webhook_entity
|
|
SET json = JSON_INSERT(json, '$.webhookType', 'generic');
|