mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
add missed migration for DB version 36 (#6678)
This commit is contained in:
parent
7e28b3ca3f
commit
e1df46b92b
4 changed files with 48 additions and 0 deletions
|
@ -183,6 +183,12 @@ func (m *Migrator) Migrate() error {
|
|||
}
|
||||
}
|
||||
|
||||
if m.currentDBVersion < 36 {
|
||||
migrateLog.Info("Migrating to DB 36")
|
||||
if err := m.migrateDBVersionToDB36(); err != nil {
|
||||
return migrationError(err, "migrateDBVersionToDB36")
|
||||
}
|
||||
}
|
||||
err = m.versionService.StoreDBVersion(portainer.DBVersion)
|
||||
if err != nil {
|
||||
return migrationError(err, "StoreDBVersion")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue