Implement your upgrades here.

def do_upgrade(self):
        """Implement your upgrades here."""
        sql = text('delete from upgrade where upgrade = :upgrade')
        for upgrade in self.legacy_upgrades:
            db.engine.execute(sql, upgrade=upgrade)