70-kv.sql 459 B

12345678910111213
  1. -- Copyright (C) 2025 The Syncthing Authors.
  2. --
  3. -- This Source Code Form is subject to the terms of the Mozilla Public
  4. -- License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5. -- You can obtain one at https://mozilla.org/MPL/2.0/.
  6. --- Simple KV store. This backs the "miscDB" we use for certain minor pieces
  7. -- of data.
  8. CREATE TABLE IF NOT EXISTS kv (
  9. key TEXT NOT NULL PRIMARY KEY COLLATE BINARY,
  10. value BLOB NOT NULL
  11. ) STRICT
  12. ;