-- Add source column to contact_messages to differentiate between contact page and sponsor page
ALTER TABLE contact_messages ADD COLUMN IF NOT EXISTS source VARCHAR(50) DEFAULT 'contact';

-- Create index for faster filtering by source
CREATE INDEX IF NOT EXISTS idx_contact_messages_source ON contact_messages(source);

-- Add comment for clarity
COMMENT ON COLUMN contact_messages.source IS 'Source of the message: contact, sponsor, etc.';
