Data Model
"which version of krita created the cachedb, which version of the schema we're using"
version_information
id INTEGER PRIMARY KEY, database_version TEXT krita_version TEXT creation_date TEXT
"Where the resource originally came from"
OriginType INTEGER originTypeId TEXT origin Installation Bundle AdobeLibrary User
"A place that stores resources"
Storage INTEGER storageId INTEGER originTypeId TEXT name TEXT location
""
Tag INTEGER tagid TEXT name TEXT tooltip INTEGER storageId
""
ResourceType INTEGER ResourceTypeId TEXT name PaintOpPreset BrushTip ...
""
Resource INTEGER resourceId INTEGER resourceTypeId TEXT name BLOB icon
"Metadata about a resource
ResourceData INTEGER resourceId TEXT key TEXT value
"The translation of a resource or tag"
Translation INTEGER translationId INTEGER originalId TEXT locale TEXT translation
"An instance of a resource as stored in storage"
ResourceVersion INTEGER versionId INTEGER resourceId INTEGER storageId INTEGER version TEXT location TEXT creationDate
"Links resources and tags"
ResourceTags INTEGER tagId INTEGER resourceId