Repository navigation
revert: drop slack_installations table - #15
Conversation
The slack_installations migration (PR #14) was merged prematurely. This migration drops the table, RLS policies, index, and trigger. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Updates to Preview Branch (revert/remove-slack-installations) ↗︎
Tasks are run on every commit but only new migration files are pushed.
View logs for this Workflow Run ↗︎. |
📝 WalkthroughWalkthroughThis pull request introduces a SQL revert migration that removes the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
supabase/migrations/20260328000000_drop_slack_installations.sql (1)
11-11: Optionally schema-qualify the index name for robustness.
DROP INDEX IF EXISTS public.idx_slack_installations_organization_id;is slightly safer against unexpectedsearch_pathdifferences during migration runs.Suggested tweak
-DROP INDEX IF EXISTS idx_slack_installations_organization_id; +DROP INDEX IF EXISTS public.idx_slack_installations_organization_id;🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@supabase/migrations/20260328000000_drop_slack_installations.sql` at line 11, Update the DROP INDEX statement to schema-qualify the index name so it is robust to search_path differences: change usage of idx_slack_installations_organization_id in the DROP INDEX IF EXISTS statement to include the public schema (e.g., public.idx_slack_installations_organization_id) so the migration always targets the intended index.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@supabase/migrations/20260328000000_drop_slack_installations.sql`:
- Line 11: Update the DROP INDEX statement to schema-qualify the index name so
it is robust to search_path differences: change usage of
idx_slack_installations_organization_id in the DROP INDEX IF EXISTS statement to
include the public schema (e.g., public.idx_slack_installations_organization_id)
so the migration always targets the intended index.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 5428ea5e-b1c1-45f3-b06b-df6298249bc4
📒 Files selected for processing (1)
supabase/migrations/20260328000000_drop_slack_installations.sql
Summary
slack_installationstable introduced in feat: add slack_installations table migration #14Test plan
slack_installationstable no longer exists after migration🤖 Generated with Claude Code
Summary by CodeRabbit