Skip to content

Conversation

@pythpythpython
Copy link
Owner

Make the Supabase schema script idempotent to allow safe re-running.

This PR adds DROP POLICY IF EXISTS and DROP TRIGGER IF EXISTS statements before creating RLS policies and triggers, resolving errors when the script is executed multiple times.


Open in Cursor Open in Web

Co-authored-by: pyth.pyth.python <pyth.pyth.python@gmail.com>
@cursor
Copy link

cursor bot commented Dec 10, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants