bf2343b7e4
Integration Tests - MySQL + Elasticsearch / Detect Changes (push) Has been cancelled
Integration Tests - MySQL + Elasticsearch / integration-tests-mysql-elasticsearch (push) Has been cancelled
Integration Tests - PostgreSQL + Elasticsearch + Redis / Detect Changes (push) Has been cancelled
Integration Tests - PostgreSQL + Elasticsearch + Redis / integration-tests-postgres-elasticsearch-redis (push) Has been cancelled
Integration Tests - PostgreSQL + OpenSearch / Detect Changes (push) Has been cancelled
Integration Tests - PostgreSQL + OpenSearch / integration-tests-postgres-opensearch (push) Has been cancelled
Java Checkstyle / java-checkstyle (push) Has been cancelled
Maven Collate Tests / maven-collate-ci (push) Has been cancelled
OpenMetadata Service Unit Tests / openmetadata-service-unit-tests-status (push) Has been cancelled
Publish Package to Maven Central Repository / publish-maven-packages (push) Has been cancelled
OpenMetadata Service Unit Tests / Detect Changes (push) Has been cancelled
OpenMetadata Service Unit Tests / openmetadata-service-unit-tests (push) Has been cancelled
OpenMetadata Service Unit Tests / k8s_operator-unit-tests (push) Has been cancelled
33 lines
923 B
SQL
33 lines
923 B
SQL
-- change scheduleType to scheduleTimeline, this was failing earlier in 1.3.2 so updating it here
|
|
UPDATE installed_apps
|
|
SET json = jsonb_set(
|
|
json::jsonb,
|
|
'{appSchedule}',
|
|
jsonb_set(
|
|
json->'appSchedule',
|
|
'{scheduleTimeline}',
|
|
json->'appSchedule'->'scheduleType'
|
|
) - 'scheduleType',
|
|
true
|
|
)
|
|
WHERE json->'appSchedule'->>'scheduleType' IS NOT NULL;
|
|
|
|
delete from apps_extension_time_series;
|
|
|
|
-- Change systemApp to system, this was failing earlier in 1.3.2 so updating it here
|
|
UPDATE installed_apps
|
|
SET json = jsonb_set(
|
|
json::jsonb,
|
|
'{system}',
|
|
json->'systemApp'
|
|
) - 'systemApp'
|
|
WHERE jsonb_exists(json::jsonb, 'systemApp') = true;
|
|
|
|
UPDATE apps_marketplace
|
|
SET json = jsonb_set(
|
|
json::jsonb,
|
|
'{system}',
|
|
json->'systemApp'
|
|
) - 'systemApp'
|
|
WHERE jsonb_exists(json::jsonb, 'systemApp') = true;
|