/
githubmirror
/
syncthing
Обзор
Документация
Войти
/
githubmirror
/
syncthing
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/db/sqlite/sql/migrations/folder/06-zero-size-dirs.sql
16 строк
474 B
Jakob Borg
fix(sqlite): update last migration to set schema version, counts (#10768)
26 июн 2026, 08:22
Не верифицирован
26 июн 2026, 08:22
44cbfca
Код
Авторство
О чём код?
-- Copyright (C) 2026 The Syncthing Authors. -- -- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this file, -- You can obtain one at https://mozilla.org/MPL/2.0/. -- All non-file entries should have size zero. -- Directories were previously stored with a "synthetic" size of 128. UPDATE files SET size = 0 WHERE type != 0 ; UPDATE counts SET size = 0 WHERE type != 0 ;