mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
Fix Label model.
This commit is contained in:
@@ -9,6 +9,7 @@ object Labels extends Table[Label]("LABEL") with Functions {
|
|||||||
def labelName = column[String]("LABEL_NAME")
|
def labelName = column[String]("LABEL_NAME")
|
||||||
def color = column[String]("COLOR")
|
def color = column[String]("COLOR")
|
||||||
def * = userName ~ repositoryName ~ labelId ~ labelName ~ color <> (Label, Label.unapply _)
|
def * = userName ~ repositoryName ~ labelId ~ labelName ~ color <> (Label, Label.unapply _)
|
||||||
|
def ins = userName ~ repositoryName ~ labelName ~ color
|
||||||
}
|
}
|
||||||
|
|
||||||
case class Label(
|
case class Label(
|
||||||
|
|||||||
Reference in New Issue
Block a user