This project is an example of Freestyle-Slick integration with a Postgresql database.
I'm using ĂŹn this project Slick-CodeGen.
To generate the file Tables.scala
with the mapping you can execute sbt slick-gen
.
To generate the schema you can run Tables.schema.create
first in the main method.
Note: Set your own user and password in application.conf
and build.sbt
.