0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 21:06:20 +02:00

[models] update repo model

add `GroupID` and `GroupSortOrder` fields
This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2025-01-09 18:54:03 -05:00
parent b2f13f5fb1
commit cf712d465c
No known key found for this signature in database
GPG Key ID: 924A5F6AF051E87C

View File

@ -219,6 +219,9 @@ type Repository struct {
CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
ArchivedUnix timeutil.TimeStamp `xorm:"DEFAULT 0"`
GroupID int64 `xorm:"DEFAULT NULL"`
GroupSortOrder int
}
func init() {