Alias is back

This commit is contained in:
2024-08-17 15:19:59 +08:00
parent 6e14684539
commit 008d531855
3 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,7 @@ type Post struct {
Type string `json:"type"`
Body datatypes.JSONMap `json:"body"`
Language string `json:"language"`
Alias *string `json:"alias"`
Tags []Tag `json:"tags" gorm:"many2many:post_tags"`
Categories []Category `json:"categories" gorm:"many2many:post_categories"`
Reactions []Reaction `json:"reactions"`