-- Migration: add is_admin boolean column to direct_integration_uploads
-- Run this on existing environments

ALTER TABLE direct_integration_uploads
  ADD COLUMN is_admin TINYINT(1) NOT NULL DEFAULT 0
  AFTER user_id;

-- Optional: backfill strategy here if needed
-- UPDATE direct_integration_uploads SET is_admin = 1 WHERE user_id IN (...);


