Created
May 2, 2016 22:46
-
-
Save eishay/42097960b35fbb00006b421721590a6f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class H2(val handle: SlickDatabase) extends DataBaseComponent { | |
val Driver = H2Driver | |
val dialect = H2DatabaseDialect | |
override def entityName(name: String): String = name.toUpperCase() | |
} | |
object H2 { | |
val driverName = "org.h2.Driver" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment