code: protected void writeApplyDdl(DdlWrite write) {
          scriptInfo.setApplyDdl(
                  "-- drop dependencies\n"
                          + write.applyDropDependencies().getBuffer() + "\n"
                          + "-- apply changes\n"
                          + write.apply().getBuffer()
                          + write.applyForeignKeys().getBuffer()
                          + write.applyHistoryView().getBuffer()
                          + write.applyHistoryTrigger().getBuffer()
          );
      }
docs: Write the 'Apply' DDL buffers to the writer.
  
  @param write a {@link io.ebeaninternal.dbmigration.ddlgeneration.DdlWrite} object.
  @throws java.io.IOException if any.