Play Framework 2.4 application always creating a 1.sql evolution even when turn off

I'm in the process of converting a Play Framework application from version 2.3.X to 2.4.X.

Everything is working except for one thing. A file is created each time I launch the server.

The file is /conf/evolutions/default/1.sql

The strange this is that I don't use evolutions. I still keep the evolutions folder to keep track of my sql conversion files (that I code myself).

In my application.conf file, this is what I have related to evolutions. I know they both do the same things but even with both of these lines, the problem still happen.

play.evolutions.enabled=false

play.evolutions {
  db.default.enabled = false
}

Is there a setting somewhere to prevent this? I didn't have this problem in version 2.3.X.

Thanks

Upvotes: 1

Views: 307

Answers (1)

m1416
m1416

Reputation: 1087

You can try adding

play.modules.disabled += "play.api.db.evolutions.EvolutionsModule"

to your application.conf that did the trick for me.

Upvotes: 3

Related Questions