fix(json): always write version to prevent spurious migrations. Fixes #1692

This commit is contained in:
Folke Lemaitre 2023-10-13 07:35:24 +02:00
parent bd1928ba59
commit 01dbd07073
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 7 additions and 3 deletions

View file

@ -128,7 +128,7 @@ local defaults = {
}
M.json = {
version = 1,
version = 2,
data = {
version = nil, ---@type string?
news = {}, ---@type table<string, string>