This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DROP POLICY IF EXISTS anon_read_checkins ON checkins; | |
| CREATE POLICY anon_read_checkins ON checkins FOR SELECT USING (true); | |
| DROP POLICY IF EXISTS auth_insert_checkins ON checkins; | |
| CREATE POLICY auth_insert_checkins ON checkins FOR INSERT WITH CHECK (true); | |
| DROP POLICY IF EXISTS auth_update_checkins ON checkins; | |
| CREATE POLICY auth_update_checkins ON checkins FOR UPDATE USING (true); | |
| DROP POLICY IF EXISTS auth_delete_checkins ON checkins; | |
| CREATE POLICY auth_delete_checkins ON checkins FOR DELETE USING (true); | |
| DROP POLICY IF EXISTS anon_read_swaps ON swaps; | |
| CREATE POLICY anon_read_swaps ON swaps FOR SELECT USING (true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DROP POLICY IF EXISTS anon_read_checkins ON checkins; | |
| CREATE POLICY anon_read_checkins ON checkins FOR SELECT USING (true); | |
| DROP POLICY IF EXISTS auth_insert_checkins ON checkins; | |
| CREATE POLICY auth_insert_checkins ON checkins FOR INSERT WITH CHECK (true); | |
| DROP POLICY IF EXISTS auth_update_checkins ON checkins; | |
| CREATE POLICY auth_update_checkins ON checkins FOR UPDATE USING (true); | |
| DROP POLICY IF EXISTS auth_delete_checkins ON checkins; | |
| CREATE POLICY auth_delete_checkins ON checkins FOR DELETE USING (true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DROP POLICY IF EXISTS anon_read_schedule_entries ON schedule_entries; | |
| DROP POLICY IF EXISTS anon_read_schedule_meta ON schedule_meta; | |
| DROP POLICY IF EXISTS anon_read_event_areas ON event_areas; | |
| DROP POLICY IF EXISTS anon_read_unavailabilities ON unavailabilities; | |
| CREATE POLICY anon_read_schedule_entries ON schedule_entries FOR SELECT USING (true); | |
| CREATE POLICY anon_read_schedule_meta ON schedule_meta FOR SELECT USING (true); | |
| CREATE POLICY anon_read_event_areas ON event_areas FOR SELECT USING (true); | |
| CREATE POLICY anon_read_unavailabilities ON unavailabilities FOR SELECT USING (true); | |
| DELETE FROM schedule_entries WHERE event_id IN (SELECT id FROM events WHERE month = 4 AND year = 2026); | |
| DELETE FROM event_areas WHERE event_id IN (SELECT id FROM events WHERE month = 4 AND year = 2026); |