mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-09 01:58:53 +00:00
10 lines
306 B
SQL
10 lines
306 B
SQL
UPDATE team_entity
|
|
SET json = JSONB_SET(json, '{teamType}', '"Department"', true);
|
|
|
|
ALTER TABLE team_entity
|
|
ADD teamType VARCHAR(64) GENERATED ALWAYS AS (json ->> 'teamType') STORED NOT NULL;
|
|
|
|
UPDATE dbservice_entity
|
|
SET json = json::jsonb #- '{connection,config,database}'
|
|
where serviceType = 'DynamoDB';
|