Add to unification also index rename (#2909)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2026-02-09 13:15:02 +02:00
committed by GitHub
parent 871b837bf5
commit 738234f0e2
2 changed files with 8 additions and 2 deletions

View File

@@ -2,4 +2,7 @@
ALTER TABLE sp_target_type ALTER COLUMN type_key DROP DEFAULT;
-- remove unused column
ALTER TABLE sp_rollout DROP COLUMN group_theshold;
ALTER TABLE sp_rollout DROP COLUMN group_theshold;
-- rename index
ALTER TABLE sp_tenant RENAME CONSTRAINT fk_sp_tenant_default_ds_type TO fk_tenant_default_ds_type;

View File

@@ -107,4 +107,7 @@ ALTER INDEX sp_idx_action_02_sp_action RENAME TO sp_idx_action_02;
ALTER INDEX sp_idx_action_external_ref_sp_action RENAME TO sp_idx_action_external_ref;
-- sp_action_status table indexes
ALTER INDEX sp_idx_action_status_prim_sp_action_status RENAME TO sp_idx_action_status_prim;
ALTER INDEX sp_idx_action_status_02_sp_action_status RENAME TO sp_idx_action_status_02;
ALTER INDEX sp_idx_action_status_02_sp_action_status RENAME TO sp_idx_action_status_02;
-- rename index
ALTER TABLE sp_tenant RENAME CONSTRAINT fk_sp_tenant_default_ds_type TO fk_tenant_default_ds_type;