-- Drop indexes
DROP INDEX IF EXISTS idx_letters_incoming_sender_name_text;
DROP INDEX IF EXISTS idx_letters_outgoing_receiver_name_text;
DROP INDEX IF EXISTS idx_letters_incoming_sender_name;
DROP INDEX IF EXISTS idx_letters_outgoing_receiver_name;

-- Remove columns
ALTER TABLE letters_incoming 
DROP COLUMN IF EXISTS sender_name;

ALTER TABLE letters_outgoing 
DROP COLUMN IF EXISTS receiver_name;