persistence/play-jdbc-evolutions/src/main/java/play/db/evolutions/Evolutions.java
public static void cleanupEvolutions(Database database, boolean autocommit, String schema) {
    DatabaseEvolutions evolutions = new DatabaseEvolutions(database.asScala(), schema);
    evolutions.evolve(evolutions.resetScripts(), autocommit);
  }
public static void cleanupEvolutions(Database database, boolean autocommit, String schema) {
    DatabaseEvolutions evolutions = new DatabaseEvolutions(database.asScala(), schema);
    evolutions.evolve(evolutions.resetScripts(), autocommit);
  }
public static void cleanupEvolutions ( Database database , boolean autocommit , String schema ) { DatabaseEvolutions evolutions = new DatabaseEvolutions ( database . asScala ( ) , schema ) ; evolutions . evolve ( evolutions . resetScripts ( ) , autocommit ) ; }
Cleanup evolutions for the given database.

<p>This will run the down scripts for all the applied evolutions.

@param database The database to apply the evolutions to.
@param autocommit Whether autocommit should be used.
@param schema The schema where all the play evolution tables are saved in
Cleanup evolutions for the given database .