-- Add Slack OAuth integration columns to organizations table
ALTER TABLE organizations 
ADD COLUMN slack_team_id VARCHAR(20) NULL,
ADD COLUMN slack_team_name VARCHAR(255) NULL,
ADD COLUMN slack_access_token TEXT NULL,
ADD COLUMN slack_bot_token TEXT NULL,
ADD COLUMN slack_connected_at TIMESTAMP NULL,
ADD INDEX idx_slack_team_id (slack_team_id);