Using play 2.4, Slick 3.0.3, and postgres, * .sql files placed in the evolution folder were automatically generated in Heroku using the following setting:
in the build.sbt file:
"com.typesafe.play" %% "play-slick" % "1.0.1", "com.typesafe.play" %% "play-slick-evolutions" % "1.0.1", "com.typesafe.slick" %% "slick" % "3.0.3", "org.postgresql" % "postgresql" % "9.4-1201-jdbc41", "org.slf4j" % "slf4j-nop" % "1.6.4",
in application.conf:
slick.dbs.default.driver ="slick.driver.PostgresDriver$" slick.dbs.default.db.dataSourceClass = "slick.jdbc.DatabaseUrlDataSource" slick.dbs.default.db.properties.driver = "org.postgresql.Driver"
and in the Procfile file:
-Dplay.evolutions.db.default.autoApply = true
Greetings
source share