mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-04 21:06:20 +02:00
add OwnerName field to Group struct
This commit is contained in:
parent
de1ef4df59
commit
a575f9390e
@ -12,8 +12,9 @@ import (
|
||||
|
||||
// Group represents a group of repositories for a user or organization
|
||||
type Group struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
OwnerID int64 `xorm:"UNIQUE(s) index NOT NULL"`
|
||||
OwnerName string
|
||||
Owner *user_model.User `xorm:"-"`
|
||||
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
|
||||
Name string `xorm:"INDEX NOT NULL"`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user