libchewing icon indicating copy to clipboard operation
libchewing copied to clipboard

feat(dictionary): set application_id and user_version for sqlite db

Open kanru opened this issue 2 years ago • 0 comments

Sqlite header has two field for application data

  • application_id to set the file magic number
  • user_version can be used to version the schema

We can set them to identify chewing database.

https://www.sqlite.org/pragma.html#pragma_user_version

kanru avatar Feb 02 '23 10:02 kanru