ApplicationEvolutions

play.api.db.evolutions.ApplicationEvolutions
@Singleton
class ApplicationEvolutions(config: EvolutionsConfig, reader: EvolutionsReader, evolutions: EvolutionsApi, dynamicEvolutions: DynamicEvolutions, dbApi: DBApi, environment: Environment, webCommands: WebCommands)

Run evolutions on application startup. Automatically runs on construction.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def start(): Unit

Checks the evolutions state. Called on construction.

Checks the evolutions state. Called on construction.

Attributes

Indicates if the process of applying evolutions scripts is finished or not. Only if that method returns true you can be sure that all evolutions scripts were executed successfully.

Indicates if the process of applying evolutions scripts is finished or not. Only if that method returns true you can be sure that all evolutions scripts were executed successfully.

Attributes

Returns

true if all evolutions scripts were applied (or resolved) successfully.