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