docs: def register_success(self, upgrade):
          """Register a successful upgrade."""
          u = Upgrade(upgrade=upgrade.name, applied=datetime.now())
          db.session.add(u)
          db.session.commit()