OpenMetadata/bootstrap/sql/org.postgresql.Driver/v004__create_db_connection_info.sql

6 lines
192 B
MySQL
Raw Normal View History

Fixes #6133 - Add support for Team Hiearchy (#6134) * Adding different team types for supporting organization team hierarchy * Add support for team hierarchy * Create organization during initalization * Team hierachy test for POST methods * Add PUT and PATCH support for changing team hiearchy * Added tests for the team hiearchy feature * Restored v003 sql files and added v004 * Merge conflicts with main and adopt new JSON based configuration * Remove configuration Organization name to simplify user MUST do configurations * Snowflake Make Query tag Optional (#6114) * Snowflake make query tag optional * Modified Description * [Backend][UsageResource] Add PUT to enable updating Usage #6117 :::::: and allow adding space to tagCAtegory and Tags (#6119) * [Backend][UsageResource] Add PUT to enable updating Usage #6117 * [Backend][UsageResource] Allow space in tags category and primary tags #6121 * [Backend][UsageResource] Update in more genric way to make use of space in resourcePath * ui changes for allowing space in tag and tag category name * [Backend][Improvement]add test for put and post Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com> * Adding different team types for supporting organization team hierarchy * Add support for team hierarchy * Create organization during initalization * Team hierachy test for POST methods * Add PUT and PATCH support for changing team hiearchy * Added tests for the team hiearchy feature * Restored v003 sql files and added v004 * Merge conflicts with main and adopt new JSON based configuration * Remove configuration Organization name to simplify user MUST do configurations * Python jsonSchema code generation not respecting defaults * fixed failing cypress Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: mohitdeuex <105265192+mohitdeuex@users.noreply.github.com> Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com> Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
2022-07-19 11:10:52 -07:00
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;