We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbf933e commit 85f3da9Copy full SHA for 85f3da9
models/repo/star_list.go
@@ -0,0 +1,25 @@
1
+// Copyright 2025 The Gitea Authors. All rights reserved.
2
+// SPDX-License-Identifier: MIT
3
+
4
+package repo
5
6
+import (
7
+ "code.gitea.io/gitea/models/db"
8
+ "code.gitea.io/gitea/modules/timeutil"
9
+)
10
11
+// StarList ...
12
+type StarList struct {
13
+ ID int64 `xorm:"pk autoincr"`
14
+ UID int64 `xorm:INDEX uid`
15
+ SID int64 `xorm:INDEX sid`
16
+ Name string
17
+ Desc string
18
19
+ CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"`
20
+ UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"`
21
+}
22
23
+func init() {
24
+ db.RegisterModel(new(StarList))
25
0 commit comments