Skip to content

Commit cbd6201

Browse files
committed
chore: add database migration prompt
1 parent 4701897 commit cbd6201

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func InitDB() (err error) {
8181
if !common.IsMasterNode {
8282
return nil
8383
}
84+
common.SysLog("database migration started")
8485
err = db.AutoMigrate(&Channel{})
8586
if err != nil {
8687
return err

0 commit comments

Comments
 (0)