Fix Label model.

This commit is contained in:
takezoe
2013-06-24 13:49:32 +09:00
parent 9ece591409
commit b591cc1454

View File

@@ -9,6 +9,7 @@ object Labels extends Table[Label]("LABEL") with Functions {
def labelName = column[String]("LABEL_NAME")
def color = column[String]("COLOR")
def * = userName ~ repositoryName ~ labelId ~ labelName ~ color <> (Label, Label.unapply _)
def ins = userName ~ repositoryName ~ labelName ~ color
}
case class Label(