private String repeatableMigrationName(String scriptName) { return "R__" + scriptName.replace(' ', '_') + migrationConfig.getApplySuffix(); }
/** * Write the ddl files. */ protected void writePlatformDdl(DdlWrite write, File resourcePath, String fullVersion) throws IOException { if (!write.isApplyEmpty()) { FileWriter applyWriter = createWriter(resourcePath, fullVersion, config.getApplySuffix()); try { writeApplyDdl(applyWriter, write); applyWriter.flush(); } finally { applyWriter.close(); } } }