-- Add attachments and priority columns to messages table
ALTER TABLE messages ADD COLUMN IF NOT EXISTS `priority` VARCHAR(50) DEFAULT 'normal' AFTER `message`;
ALTER TABLE messages ADD COLUMN IF NOT EXISTS `attachments` JSON NULL AFTER `priority`;
