mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 21:45:50 +01:00
Add the condition function by the primary key.
This commit is contained in:
@@ -8,6 +8,7 @@ object Labels extends Table[Label]("LABEL") with LabelTemplate {
|
||||
def * = userName ~ repositoryName ~ labelId ~ labelName ~ color <> (Label, Label.unapply _)
|
||||
|
||||
def ins = userName ~ repositoryName ~ labelName ~ color
|
||||
def byPrimaryKey = byLabel _
|
||||
}
|
||||
|
||||
case class Label(
|
||||
|
||||
Reference in New Issue
Block a user