Created
August 4, 2019 21:25
-
-
Save jczuchnowski/7693041e6af1e4e0375bcf12d81b5379 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
trait LiveDatabaseProvider extends DatabaseProvider { | |
override val databaseProvider = new DatabaseProvider.Service { | |
override val db = ZIO.effectTotal(Database.forURL(url = "jdbc:h2:prod")) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment