Skip to content

Commit

Permalink
v0.1.11 migration command
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-cha committed Dec 10, 2024
1 parent f66feff commit b8baa18
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/opinitd/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@ v0.1.9-2: Fill block hash of finalized tree
return err
}
return executor.Migration0110(db)
case "v0.1.11":
// Run migration for v0.1.11
db, err := db.NewDB(GetDBPath(ctx.homePath, bottypes.BotTypeExecutor))
if err != nil {
return err
}
return executor.Migration0111(db)
default:
return fmt.Errorf("unknown migration version: %s", version)
}
Expand Down

0 comments on commit b8baa18

Please sign in to comment.