Hi Guys,
I am working with the new 2.4 Play framework using Slick. I am using the play-slick plugin which makes Slick a first-class citizen in Play. I am trying to develop an app which accepts an JSON object and stores them into a MySQL database. I got the part of the JSON validation and queries working, but the evolutions plugin isn't working and therefore the table definitions aren't created when starting play.
I am running play, started using SBT and it is running in DEV mode. Is there any way to force to run the evolutions, I have the idea that I forgot to register the plugin somewhere, but searched for quite some while now but I can't find the answer.
Furthermore, at setting the config I noticed something that looks peculiar to me:
slick.dbs.default.driver="slick.driver.MySQLDriver$"
slick.dbs.default.db.driver=com.mysql.jdbc.Driver
slick.dbs.default.db.url="jdbc:mysql://localhost/play"
slick.dbs.default.db.user="fokko"
slick.dbs.default.db.password=""
Why is the $ after the driver required, and what is it's use? When I remove the dollar sign, I get an error Cannot connect to database [default], while the credentials are correct. When I add the sign, the play-app starts but the evolutions plugin still isn't triggered.