Play framework and Slick automatic database creation
问题 I'm using play 2.4 and Slick 3, Is it possible to generate automatically ddl scripts, it is evolutions? In official docs I found some scripts, but where should I place it in play framework? http://slick.typesafe.com/doc/3.1.0/schemas.html Do you know any libs to manage evolutions in code to not write plain SQL? 回答1: I made some workaround with PostgresDriver, I've created module, that prints DDL to file. After every code change I just need to replace 1.sql or later modify next evolution