Hello,
I configured application.conf
slick.dbs.default.profile="slick.jdbc.H2Profile$"
slick.dbs.default.db.driver="org.h2.Driver"
slick.dbs.default.db.url="jdbc:h2:mem:playSlick;DB_CLOSE_DELAY=-1"
slick.dbs.default.db.user=sa
slick.dbs.default.db.password=""
evolutionplugin=enable
Added the dependencies build.sbt
libraryDependencies ++= Seq(
"com.typesafe.slick" %% "slick" % "3.2.0",
"com.typesafe.play" %% "play-slick" % "2.1.0",
"com.typesafe.play" %% "play-slick-evolutions" % "2.1.0",
"com.h2database" % "h2" % "1.4.195"
)
And added an 1.sql script into conf/evolutions/default
It is to long to post Into the Mail. When I run it with an SQL Console it works.
After starting the Application i get the DB 'default' need evolution screen.
When i click the Button the Application works as normal.
When i Try to look for the tables they are not in the DB.
URL: jdbc:h2:mem:default
URL: jdbc:h2:mem:playSlick
Picute from Intellj integrated Database manager. I also looked at the webDB manager also no tables there.
I tryed to get more log output by adding a logback.xml with
<logger name="play.api.db.slick" level="FATAL" />
Now i got some debug outputs but nothing that really helps.
Do i miss some configurations? Am I looking into the wrong DB?
Best regards from Germany
Tobias Heer