Improve mapping of custom column type.

This commit is contained in:
shimamoto
2013-07-08 17:25:31 +09:00
parent f13e2c0d71
commit 136a654639
12 changed files with 8 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ package model
import scala.slick.driver.H2Driver.simple._
object Repositories extends Table[Repository]("REPOSITORY") with BasicTemplate with Functions {
object Repositories extends Table[Repository]("REPOSITORY") with BasicTemplate {
def isPrivate = column[Boolean]("PRIVATE")
def description = column[String]("DESCRIPTION")
def defaultBranch = column[String]("DEFAULT_BRANCH")