mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-20 03:46:58 +00:00
6 lines
192 B
MySQL
6 lines
192 B
MySQL
|
|
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;
|