Refactor: Remove item_edit_history_view

This commit is contained in:
gpt-engineer-app[bot]
2025-11-02 23:55:49 +00:00
parent 9c4b80e454
commit c59d8e40d5
8 changed files with 369 additions and 63 deletions

View File

@@ -0,0 +1,5 @@
-- Fix security issue: Remove the view and use direct queries instead
DROP VIEW IF EXISTS public.item_edit_history_view;
-- The item_edit_history table with proper RLS is sufficient
-- Application code will join with profiles table as needed