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 IssueComments extends Table[IssueComment]("ISSUE_COMMENT") with IssueTemplate with Functions {
object IssueComments extends Table[IssueComment]("ISSUE_COMMENT") with IssueTemplate {
def commentId = column[Int]("COMMENT_ID", O AutoInc)
def action = column[String]("ACTION")
def commentedUserName = column[String]("COMMENTED_USER_NAME")