@Singleton
public class EbeanDynamicEvolutions
extends play.api.db.evolutions.DynamicEvolutions
Constructor and Description |
---|
EbeanDynamicEvolutions(EbeanConfig config,
Environment environment,
ApplicationLifecycle lifecycle) |
Modifier and Type | Method and Description |
---|---|
void |
create()
Generate evolutions.
|
static java.lang.String |
generateEvolutionScript(com.avaje.ebean.EbeanServer server)
Helper method that generates the required evolution to properly run Ebean.
|
void |
start()
Initialise the Ebean servers.
|
@Inject public EbeanDynamicEvolutions(EbeanConfig config, Environment environment, ApplicationLifecycle lifecycle)
public void start()
public void create()
create
in class play.api.db.evolutions.DynamicEvolutions
public static java.lang.String generateEvolutionScript(com.avaje.ebean.EbeanServer server)
server
- the EbeanServer.