Add xorm tag to dashboard version id (#50599)

This commit is contained in:
idafurjes 2022-06-10 14:33:12 +02:00 committed by GitHub
parent 9a62849dc3
commit 5a9b622708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"`