-- Clean up legacy policy names left over from migration 20260416012416.
-- The B2B migration (20260419004009) intended to replace these but used
-- different DROP names. Now we explicitly remove the old names so the
-- effective RLS is driven solely by the B2B-aware policies.

DROP POLICY IF EXISTS workout_sessions_own_row ON workout_sessions;
DROP POLICY IF EXISTS exercise_entries_via_session ON exercise_entries;
DROP POLICY IF EXISTS exercise_sets_via_entry ON exercise_sets;
DROP POLICY IF EXISTS raw_motion_samples_via_session ON raw_motion_samples;
DROP POLICY IF EXISTS rom_estimates_via_entry ON rom_estimates;
