Skip to content

Instantly share code, notes, and snippets.

@anuragsrivastava06
Created July 23, 2017 09:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anuragsrivastava06/5bfc66943a01d42a0815636f7b95950e to your computer and use it in GitHub Desktop.
import slick.jdbc.JdbcProfile
trait DBComponent {
val driver: JdbcProfile
import driver.api._
val db: Database
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment