Chore: Deprecate FolderID in LibraryElementWithMeta (#77406)

This commit is contained in:
Kat Yang
2023-10-31 11:50:02 -04:00
committed by GitHub
parent 87717849da
commit f7ce6f8b41
2 changed files with 9 additions and 5 deletions

View File

@@ -40,8 +40,9 @@ type LibraryElement struct {
// LibraryElementWithMeta is the model used to retrieve entities with additional meta information.
type LibraryElementWithMeta struct {
ID int64 `xorm:"pk autoincr 'id'"`
OrgID int64 `xorm:"org_id"`
ID int64 `xorm:"pk autoincr 'id'"`
OrgID int64 `xorm:"org_id"`
// Deprecated: use FolderUID instead
FolderID int64 `xorm:"folder_id"`
UID string `xorm:"uid"`
Name string