code: public boolean updateVersion(final Migration migration) {
          final Statement insert = QueryBuilder.insertInto(SCHEMA_VERSION_CF).value(TYPE, migration.getType().name())
                  .value(VERSION, migration.getVersion()).value(TIMESTAMP, System.currentTimeMillis())
                  .value(DESCRIPTION, migration.getDescription()).setConsistencyLevel(ConsistencyLevel.ALL);
  
          try {
              session.execute(insert);
              return true;
          } catch (final Exception e) {
              LOGGER.error("Failed to execute update version statement", e);
              return false;
          }
      }
docs: Update current database version to the migration version. This is executed after migration success.
  
  @param migration Migration that updated the database version
  @return Success of version update