chore(db): migration for previous commits (#10319)
Recreate the blocks and block lists tables. --------- Co-authored-by: bt90 <btom1990@googlemail.com>
This commit is contained in:
@@ -191,6 +191,10 @@ func (a *App) startup() error {
|
||||
if _, ok := cfgFolders[folder]; !ok {
|
||||
slog.Info("Cleaning metadata for dropped folder", "folder", folder)
|
||||
a.sdb.DropFolder(folder)
|
||||
} else {
|
||||
// Open the folder database, causing it to apply migrations
|
||||
// early when appropriate.
|
||||
_, _ = a.sdb.GetDeviceSequence(folder, protocol.LocalDeviceID)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user