Posts

This commit is contained in:
2024-02-02 23:42:42 +08:00
parent 19e1775476
commit 89521c15af
20 changed files with 426 additions and 62 deletions

View File

@ -8,6 +8,10 @@ import (
func RunMigration(source *gorm.DB) error {
if err := source.AutoMigrate(
&models.Account{},
&models.Realm{},
&models.Category{},
&models.Tag{},
&models.Post{},
); err != nil {
return err
}