mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-23 09:22:18 +00:00
10 lines
299 B
SQL
10 lines
299 B
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';
|