forked from devtron-labs/devtron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create 248_aks_on_off_v1.0.0.down.sql
- Loading branch information
1 parent
34e5170
commit 368732b
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
DELETE FROM plugin_step_variable WHERE plugin_step_id =(SELECT ps.id FROM plugin_metadata p inner JOIN plugin_step ps on ps.plugin_id=p.id WHERE p.name='AKS Cluster ON/OFF v1.0.0' and ps."index"=1 and ps.deleted=false); | ||
DELETE FROM plugin_step WHERE plugin_id=(SELECT id FROM plugin_metadata WHERE name='AKS Cluster ON/OFF v1.0.0'); | ||
DELETE FROM pipeline_stage_step_variable where pipeline_stage_step_id in (select id from pipeline_stage_step where name ='AKS Cluster ON/OFF v1.0.0'); | ||
DELETE from pipeline_stage_step where name ='AKS Cluster ON/OFF v1.0.0'; | ||
DELETE FROM plugin_metadata WHERE name ='AKS Cluster ON/OFF v1.0.0'; |