Installer: apply database mirgation for `history` module