ALTER TABLE admin_operation_logs
  MODIFY COLUMN request_id VARCHAR(64) NOT NULL DEFAULT '',
  MODIFY COLUMN resource_id VARCHAR(80) NOT NULL DEFAULT '',
  MODIFY COLUMN user_agent VARCHAR(255) NOT NULL DEFAULT '',
  MODIFY COLUMN http_status INT NOT NULL DEFAULT 0,
  MODIFY COLUMN risk_level VARCHAR(24) NOT NULL DEFAULT 'normal',
  MODIFY COLUMN latency_ms BIGINT NOT NULL DEFAULT 0;

ALTER TABLE admin_jobs
  MODIFY COLUMN attempt INT NOT NULL DEFAULT 0,
  MODIFY COLUMN max_attempts INT NOT NULL DEFAULT 3,
  MODIFY COLUMN locked_by VARCHAR(120) NOT NULL DEFAULT '',
  MODIFY COLUMN artifact_path VARCHAR(255) NOT NULL DEFAULT '';
