Objectbox (#400)
* replaced SQLite/RoomDb with Objectbox for improved dictionary performance * SQLite words are automatically cleaned up when opening the Preferences * added protection against deleting dictionaries while loading other dictionaries * enabled adding words with apostrophes in Ukrainian * updated system requirements
This commit is contained in:
parent
7fb1ca7b5b
commit
c02b4149e2
28 changed files with 693 additions and 691 deletions
78
objectbox-models/default.json
Normal file
78
objectbox-models/default.json
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
"_note1": "KEEP THIS FILE! Check it into a version control system (VCS) like git.",
|
||||
"_note2": "ObjectBox manages crucial IDs for your object model. See docs for details.",
|
||||
"_note3": "If you have VCS merge conflicts, you must resolve them according to ObjectBox docs.",
|
||||
"entities": [
|
||||
{
|
||||
"id": "1:8686759156275895115",
|
||||
"lastPropertyId": "9:148562041880145406",
|
||||
"name": "Word",
|
||||
"properties": [
|
||||
{
|
||||
"id": "1:7053654361616810150",
|
||||
"name": "id",
|
||||
"type": 6,
|
||||
"flags": 1
|
||||
},
|
||||
{
|
||||
"id": "2:1100881396300803213",
|
||||
"name": "frequency",
|
||||
"type": 5
|
||||
},
|
||||
{
|
||||
"id": "3:3482550679443532896",
|
||||
"name": "isCustom",
|
||||
"type": 1
|
||||
},
|
||||
{
|
||||
"id": "4:7366572918924354162",
|
||||
"name": "langId",
|
||||
"type": 5
|
||||
},
|
||||
{
|
||||
"id": "5:2610279871343053806",
|
||||
"name": "length",
|
||||
"type": 5
|
||||
},
|
||||
{
|
||||
"id": "6:5269773217039117329",
|
||||
"name": "sequence",
|
||||
"indexId": "1:2971223841434624317",
|
||||
"type": 9,
|
||||
"flags": 2048
|
||||
},
|
||||
{
|
||||
"id": "7:3922044271904033267",
|
||||
"name": "sequenceShort",
|
||||
"indexId": "2:2641086768976362614",
|
||||
"type": 2,
|
||||
"flags": 8
|
||||
},
|
||||
{
|
||||
"id": "8:1684236207225806285",
|
||||
"name": "uniqueId",
|
||||
"indexId": "3:5820769207826940948",
|
||||
"type": 9,
|
||||
"flags": 34848
|
||||
},
|
||||
{
|
||||
"id": "9:148562041880145406",
|
||||
"name": "word",
|
||||
"type": 9
|
||||
}
|
||||
],
|
||||
"relations": []
|
||||
}
|
||||
],
|
||||
"lastEntityId": "1:8686759156275895115",
|
||||
"lastIndexId": "3:5820769207826940948",
|
||||
"lastRelationId": "0:0",
|
||||
"lastSequenceId": "0:0",
|
||||
"modelVersion": 5,
|
||||
"modelVersionParserMinimum": 5,
|
||||
"retiredEntityUids": [],
|
||||
"retiredIndexUids": [],
|
||||
"retiredPropertyUids": [],
|
||||
"retiredRelationUids": [],
|
||||
"version": 1
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue