Skip to content

Commit

Permalink
[RHCLOUD-35969] drop orphans system endpoints (#3075)
Browse files Browse the repository at this point in the history
  • Loading branch information
g-duval authored Nov 27, 2024
1 parent 96350d1 commit 66fa4dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DELETE FROM endpoints WHERE org_id is null and NOT EXISTS (SELECT 1 FROM behavior_group_action bga WHERE bga.endpoint_id = id);

0 comments on commit 66fa4dc

Please sign in to comment.