mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-12 15:33:39 +02:00
[models] update repo model
add `GroupID` and `GroupSortOrder` fields
This commit is contained in:
parent
ea8e52b9ee
commit
31c66733c3
@ -219,6 +219,9 @@ type Repository struct {
|
|||||||
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
|
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
|
||||||
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
|
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
|
||||||
ArchivedUnix timeutil.TimeStamp `xorm:"DEFAULT 0"`
|
ArchivedUnix timeutil.TimeStamp `xorm:"DEFAULT 0"`
|
||||||
|
|
||||||
|
GroupID int64 `xorm:"DEFAULT NULL"`
|
||||||
|
GroupSortOrder int
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user