-- BEGIN CHANGE: serial anti-dupe admin log (C++ Game::logSerialAntidupeHit)
CREATE TABLE IF NOT EXISTS `z_serial_antidupe_log` (
  `id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
  `player_id` INT NOT NULL,
  `player_name` VARCHAR(255) NOT NULL,
  `item_id` INT NOT NULL,
  `item_name` VARCHAR(255) NOT NULL,
  `serial` VARCHAR(255) NOT NULL,
  `source` VARCHAR(32) NOT NULL,
  `created_at` INT UNSIGNED NOT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_player` (`player_id`),
  KEY `idx_serial` (`serial`),
  KEY `idx_created` (`created_at`),
  KEY `idx_source` (`source`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- END CHANGE
