Make the migration a no-op
This commit is contained in:
parent
eb64cd8367
commit
2690b874ee
1 changed files with 7 additions and 1 deletions
|
@ -144,7 +144,13 @@ class MLIDbStorage {
|
|||
.objectStore("configs")
|
||||
.add(DEFAULT_ML_SEARCH_CONFIG, ML_SEARCH_CONFIG_NAME);
|
||||
}
|
||||
/*
|
||||
This'll go in version 5. Note that version 4 was never released,
|
||||
but it was in main for a while, so we'll just skip it to avoid
|
||||
breaking the upgrade path for people who ran the mainline.
|
||||
*/
|
||||
if (oldVersion < 4) {
|
||||
/*
|
||||
try {
|
||||
await tx
|
||||
.objectStore("configs")
|
||||
|
@ -163,8 +169,8 @@ class MLIDbStorage {
|
|||
// the shipped implementation should have a more
|
||||
// deterministic migration.
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
log.info(
|
||||
`ML DB upgraded from version ${oldVersion} to version ${newVersion}`,
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue