🐛 Fix column name issue

This commit is contained in:
LittleSheep 2024-07-29 23:02:38 +08:00
parent 0519d99bbd
commit f07364269a

View File

@ -38,8 +38,8 @@ type Post struct {
RepostTo *Post `json:"repost_to" gorm:"foreignKey:RepostID"`
Realm *Realm `json:"realm"`
VisibleUsers datatypes.JSONSlice[uint] `json:"visible_users_list"`
InvisibleUsers datatypes.JSONSlice[uint] `json:"invisible_users_list"`
VisibleUsers datatypes.JSONSlice[uint] `json:"visible_users"`
InvisibleUsers datatypes.JSONSlice[uint] `json:"invisible_users"`
Visibility PostVisibilityLevel `json:"visibility"`
EditedAt *time.Time `json:"edited_at"`