code: private void generateOnConfigure(boolean useForeignKey) {
  		// onConfigure
  
  		MethodSpec.Builder methodBuilder = MethodSpec.methodBuilder("onConfigure").addAnnotation(Override.class)
  				.addModifiers(Modifier.PUBLIC);
  		methodBuilder.addParameter(SQLiteDatabase.class, "database");
  		methodBuilder.addJavadoc("onConfigure\n");
  		methodBuilder.addCode("// configure database\n");
  
  		if (useForeignKey) {
  			methodBuilder.addStatement("database.setForeignKeyConstraintsEnabled(true)");
  		}
  
  		methodBuilder.beginControlFlow("if (options.databaseLifecycleHandler != null)");
  		methodBuilder.addStatement("options.databaseLifecycleHandler.onConfigure(database)");
  		methodBuilder.endControlFlow();
  
  		classBuilder.addMethod(methodBuilder.build());
  	}
docs: Generate on configure.
  
  @param useForeignKey
  the use foreign key