mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 05:25:50 +01:00
Fix byPrimaryKey problem.
This commit is contained in:
@@ -11,7 +11,7 @@ object Repositories extends Table[Repository]("REPOSITORY") with BasicTemplate w
|
||||
def lastActivityDate = column[java.util.Date]("LAST_ACTIVITY_DATE")
|
||||
def * = userName ~ repositoryName ~ isPrivate ~ description.? ~ defaultBranch ~ registeredDate ~ updatedDate ~ lastActivityDate <> (Repository, Repository.unapply _)
|
||||
|
||||
def byPrimaryKey = byRepository _
|
||||
def byPrimaryKey(owner: String, repository: String) = byRepository(owner, repository)
|
||||
}
|
||||
|
||||
case class Repository(
|
||||
|
||||
Reference in New Issue
Block a user