Add to unification also index rename (#2909)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -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;
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user