Added My Schedule tab in attendance screen
Allow 1 Day, Whole Week and Date Range swapping
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
-- Enable realtime updates for duty_schedules so that schedule ownership
|
||||
-- changes (e.g. after a swap is accepted) propagate to all clients
|
||||
-- immediately without waiting for the next poll cycle.
|
||||
ALTER TABLE public.duty_schedules REPLICA IDENTITY FULL;
|
||||
|
||||
DO $$ BEGIN
|
||||
ALTER PUBLICATION supabase_realtime ADD TABLE public.duty_schedules;
|
||||
EXCEPTION WHEN duplicate_object THEN
|
||||
NULL;
|
||||
END $$;
|
||||
Reference in New Issue
Block a user