CREATE TABLE IF NOT EXISTS `processed_updates` (
  `id` INT AUTO_INCREMENT PRIMARY KEY,
  `update_id` BIGINT NOT NULL UNIQUE,
  `created_at` DATETIME DEFAULT NOW(),
  INDEX idx_update_id (update_id),
  INDEX idx_created (created_at)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
