mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-07 05:53:46 +00:00
Add v015 for 1.2.0 release (#12716)
This commit is contained in:
parent
ef6e281f05
commit
73b58011d4
@ -61,10 +61,6 @@ SET json = JSON_REPLACE(
|
|||||||
where de2.serviceType = 'Mssql'
|
where de2.serviceType = 'Mssql'
|
||||||
and JSON_EXTRACT(json, '$.connection.config.database') is NULL;
|
and JSON_EXTRACT(json, '$.connection.config.database') is NULL;
|
||||||
|
|
||||||
-- column deleted not needed for entities that don't support soft delete
|
|
||||||
ALTER TABLE query_entity DROP COLUMN deleted;
|
|
||||||
ALTER TABLE event_subscription_entity DROP COLUMN deleted;
|
|
||||||
|
|
||||||
-- remove keyfile from clickhouse
|
-- remove keyfile from clickhouse
|
||||||
UPDATE dbservice_entity
|
UPDATE dbservice_entity
|
||||||
SET json = JSON_REMOVE(json, '$.connection.config.keyfile')
|
SET json = JSON_REMOVE(json, '$.connection.config.keyfile')
|
||||||
|
|||||||
@ -0,0 +1,3 @@
|
|||||||
|
-- column deleted not needed for entities that don't support soft delete
|
||||||
|
ALTER TABLE query_entity DROP COLUMN deleted;
|
||||||
|
ALTER TABLE event_subscription_entity DROP COLUMN deleted;
|
||||||
@ -57,10 +57,6 @@ SET json = JSONB_SET(
|
|||||||
WHERE de2.serviceType = 'Mssql'
|
WHERE de2.serviceType = 'Mssql'
|
||||||
AND json->>'{connection,config,database}' IS NULL;
|
AND json->>'{connection,config,database}' IS NULL;
|
||||||
|
|
||||||
-- column deleted not needed for entities that don't support soft delete
|
|
||||||
ALTER TABLE query_entity DROP COLUMN deleted;
|
|
||||||
ALTER TABLE event_subscription_entity DROP COLUMN deleted;
|
|
||||||
|
|
||||||
-- remove keyfile from clickhouse
|
-- remove keyfile from clickhouse
|
||||||
UPDATE dbservice_entity
|
UPDATE dbservice_entity
|
||||||
SET json = json #-'{connection,config,keyfile}'
|
SET json = json #-'{connection,config,keyfile}'
|
||||||
|
|||||||
@ -0,0 +1,3 @@
|
|||||||
|
-- column deleted not needed for entities that don't support soft delete
|
||||||
|
ALTER TABLE query_entity DROP COLUMN deleted;
|
||||||
|
ALTER TABLE event_subscription_entity DROP COLUMN deleted;
|
||||||
Loading…
x
Reference in New Issue
Block a user