-- Cooldown de Recuperar personaje (/restore-character): 12 h por personaje (guid).
CREATE TABLE IF NOT EXISTS restorehistory (
  id             BIGINT   NOT NULL AUTO_INCREMENT,
  character_guid BIGINT   NOT NULL,
  used_at        DATETIME NOT NULL,
  PRIMARY KEY (id),
  KEY idx_guid (character_guid, used_at)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
