Skip to content

Commit

Permalink
Create 248_aks_on_off_v1.0.0.down.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
shaileshmehta16 authored May 19, 2024
1 parent 34e5170 commit 368732b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/sql/248_aks_on_off_v1.0.0.down.sql
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';

0 comments on commit 368732b

Please sign in to comment.