-- Migration: Add status and startup_id to messages
ALTER TABLE messages 
ADD COLUMN status ENUM('pending', 'accepted', 'rejected') DEFAULT 'accepted' AFTER content,
ADD COLUMN startup_id INT NULL AFTER status,
ADD CONSTRAINT fk_messages_startup FOREIGN KEY (startup_id) REFERENCES startups(id) ON DELETE SET NULL;
