code: private void logMigration(DbMigration migration, boolean wasSuccessful) {
          BoundStatement boundStatement = logMigrationStatement.bind(wasSuccessful, migration.getVersion(),
                  migration.getScriptName(), migration.getMigrationScript(), new Date());
          session.execute(boundStatement);
      }
docs: Inserts the result of the migration into the migration table
  
  @param migration     the migration that was executed
  @param wasSuccessful indicates if the migration was successful or not