Skip to content

Commit

Permalink
Add upgrade migration
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Jul 16, 2023
1 parent 8724590 commit 1102ab8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/services/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ export class WefwefDB extends Dexie {
community
`,
});

this.version(3).upgrade(async () => {
await this.setSetting("blur_nsfw", OPostBlurNsfw.InFeed);
});
}

/*
Expand Down

0 comments on commit 1102ab8

Please sign in to comment.