How to write database-agnostic Play application and perform first-time database initialization?

后端 未结 4 1507
生来不讨喜
生来不讨喜 2020-12-22 17:45

I\'m using Slick with a Play Framework 2.1 and I have some troubles.

Given the following entity...

package models

import scala.slick.driver.Postgres         


        
4条回答
  •  暖寄归人
    2020-12-22 18:29

    If, like me, you're not using Play! for the project, a solution is provided by Nishruu here

提交回复
热议问题