ebeanの設定

https://stackoverflow.com/questions/34350725/how-can-i-override-plays-default-ebean-server-configuration

build.sbt

playEbeanModels in Compile := Seq("models.*")
playEbeanDebugLevel := 4

application.conf

ebean.default = ["models.*"]

db {
  # You can declare as many datasources as you want.
  # By convention, the default datasource is named `default`

  # https://www.playframework.com/documentation/latest/Developing-with-the-H2-Database
  default.driver = org.h2.Driver
  default.url = "jdbc:h2:mem:play"
  #default.username = sa
  #default.password = ""

  # You can turn on SQL logging for any datasource
  # https://www.playframework.com/documentation/latest/Highlights25#Logging-SQL-statements
  #default.logSql=true
}