-- Cooldown de "consultar ítems borrados" (/restore-items): 8 h por personaje.
CREATE TABLE IF NOT EXISTS home_itemsearchhistory (
  id             BIGINT      NOT NULL AUTO_INCREMENT,
  character_name VARCHAR(12) NOT NULL,
  used_at        DATETIME    NOT NULL,
  PRIMARY KEY (id),
  KEY idx_char (character_name, used_at)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
