chore: Removes around app (#20650)

This commit is contained in:
Omar López authored and GitHub committed 2025-05-07 14:41:46 -04:00
1 parent 7d7a429780
commit 1c088f65c5
32 files changed
+19 -134

No files matched your search

@@ -0,0 +1,8 @@
-- Update EventType locations to remove around_video integration
UPDATE "EventType"
SET "locations" = (
SELECT jsonb_agg(location)
FROM jsonb_array_elements("locations") AS location
WHERE location->>'type' != 'integrations:around_video'
)
WHERE "locations" @> '[{"type": "integrations:around_video"}]';
@@ -0,0 +1,2 @@
-- Remove credentials with appId 'around'
DELETE FROM "Credential" WHERE "appId" = 'around';
@@ -0,0 +1,2 @@
-- Remove the around app from the App table
DELETE FROM "App" WHERE "slug" = 'around';