-- Add deployment status tracking to teams table -- These columns are needed for agent deployment status tracking ALTER TABLE teams ADD COLUMN deployment_status VARCHAR(50) DEFAULT 'pending', ADD COLUMN deployment_message TEXT DEFAULT ''; -- Add index for deployment status queries CREATE INDEX IF NOT EXISTS idx_teams_deployment_status ON teams(deployment_status); -- Update existing teams to have proper deployment status UPDATE teams SET deployment_status = 'pending' WHERE deployment_status IS NULL;