Skip to content

Commit 77b6942

Browse files
xbingWdhsifss
andauthored
fix: forum migrate (#51)
Co-authored-by: 姚凯 <kai.yao@chaitin.com>
1 parent 0dcdbfe commit 77b6942

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/migration/20251022141253_init_forum.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func (m *initForum) Migrate(tx *gorm.DB) error {
3434
Name: "默认板块",
3535
DatasetID: dataset.SetID,
3636
GroupIDs: gids,
37+
RouteName: "default",
3738
}
3839
if err := tx.Create(&forum).Error; err != nil {
3940
return err

0 commit comments

Comments
 (0)