mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Add activities page.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user