Add activities page.

This commit is contained in:
2025-06-13 19:32:25 +08:00
parent 0b3b54a0c4
commit 1f238c56f3
18 changed files with 424 additions and 70 deletions

View File

@@ -34,7 +34,18 @@ func init() {
}
}
_ = db.AutoMigrate(&model.User{}, &model.Resource{}, &model.Image{}, &model.Tag{}, &model.Storage{}, &model.File{}, &model.UploadingFile{}, &model.Statistic{}, &model.Comment{})
_ = db.AutoMigrate(
&model.User{},
&model.Resource{},
&model.Image{},
&model.Tag{},
&model.Storage{},
&model.File{},
&model.UploadingFile{},
&model.Statistic{},
&model.Comment{},
&model.Activity{},
)
}
func GetDB() *gorm.DB {