Created
July 8, 2015 17:19
-
-
Save pjazdzewski1990/3c9975db6fc1a00e04ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val dbConfig = DatabaseConfig.forConfig[JdbcProfile]("postgres") | |
val db = dbConfig.db // all database interactions are realised through this object | |
import dbConfig.driver.api._ // imports all the DSL goodies for the configured database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment