-- Add reviewer_name column to store display name at submission time
-- This ensures reviews always show the author's name even if profile is deleted later
ALTER TABLE reviews
ADD COLUMN reviewer_name TEXT;

-- Create index for efficient approval status queries
CREATE INDEX idx_reviews_is_approved ON reviews(is_approved);
