♻️ Reaction instead of like / dislike

This commit is contained in:
2024-03-03 12:17:18 +08:00
parent c23bde901b
commit bb565965da
11 changed files with 99 additions and 252 deletions

View File

@ -14,14 +14,9 @@ func RunMigration(source *gorm.DB) error {
&models.Category{},
&models.Tag{},
&models.Moment{},
&models.MomentLike{},
&models.MomentDislike{},
&models.Article{},
&models.ArticleLike{},
&models.ArticleDislike{},
&models.Comment{},
&models.CommentLike{},
&models.CommentDislike{},
&models.Reaction{},
&models.Attachment{},
); err != nil {
return err