Skip to content

Commit

Permalink
Update delete workspace function (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuushhh authored Mar 5, 2024
1 parent d0ce8ab commit 39b385e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/functions/delete-workspace.sql
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ BEGIN
RAISE NOTICE 'Deleted % workspaces', rcount;

RAISE NOTICE E'\n\n\n\n\n\n\n\n\nSwitch to integration_settings db and run the below query to delete the integration';
RAISE NOTICE E'select delete_integration(''%'');\n\n\n\n\n\n\n\n\n\n\n', _org_id;
RAISE NOTICE E'\\c integration_settings; \n\n begin; select delete_integration(''%'');\n\n\n\n\n\n\n\n\n\n\n', _org_id;

RAISE NOTICE E'\n\n\n\n\n\n\n\n\nSwitch to prod db and run the below query to update the subscription';
RAISE NOTICE E'begin; update platform_schema.admin_subscriptions set is_enabled = false where org_id = ''%'';\n\n\n\n\n\n\n\n\n\n\n', _org_id;
Expand Down

0 comments on commit 39b385e

Please sign in to comment.