Add xorm tag to dashboard version id (#50599)
This commit is contained in:
1 parent
9a62849dc3
commit
5a9b622708
1 file changed
+1
-1
@@ -13,7 +13,7 @@ var (
|
||||
)
|
||||
|
||||
type DashboardVersion struct {
|
||||
ID int64 `json:"id"`
|
||||
ID int64 `json:"id" xorm:"pk autoincr 'id'"`
|
||||
DashboardID int64 `json:"dashboardId" xorm:"dashboard_id"`
|
||||
ParentVersion int `json:"parentVersion"`
|
||||
RestoredFrom int `json:"restoredFrom"`
|
||||
|
||||
Reference in new issue
Block a user