Skip to content

Commit ab8d01b

Browse files
committed
Check in model files for both targets so older builds stay compatible.
1 parent db572d6 commit ab8d01b

File tree

2 files changed

+182
-0
lines changed

2 files changed

+182
-0
lines changed

Example/model-NotesExample-iOS.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"_note1" : "KEEP THIS FILE! Check it into a version control system (VCS) like git.",
3+
"_note2" : "ObjectBox manages crucial IDs for your object model. See docs for details.",
4+
"_note3" : "If you have VCS merge conflicts, you must resolve them according to ObjectBox docs.",
5+
"entities" : [
6+
{
7+
"id" : "1:712683617673955584",
8+
"lastPropertyId" : "2:5025387500910526208",
9+
"name" : "Author",
10+
"properties" : [
11+
{
12+
"flags" : 1,
13+
"id" : "1:6336800942024279296",
14+
"name" : "id",
15+
"type" : 6
16+
},
17+
{
18+
"id" : "2:5025387500910526208",
19+
"name" : "name",
20+
"type" : 9
21+
}
22+
],
23+
"relations" : [
24+
25+
]
26+
},
27+
{
28+
"id" : "2:5608901830082711040",
29+
"lastPropertyId" : "6:6001769173142034944",
30+
"name" : "Note",
31+
"properties" : [
32+
{
33+
"flags" : 1,
34+
"id" : "1:7180411752564202752",
35+
"name" : "id",
36+
"type" : 6
37+
},
38+
{
39+
"id" : "2:249105953415333376",
40+
"name" : "title",
41+
"type" : 9
42+
},
43+
{
44+
"id" : "3:5661281725891017216",
45+
"name" : "text",
46+
"type" : 9
47+
},
48+
{
49+
"id" : "4:8342334437465755392",
50+
"name" : "creationDate",
51+
"type" : 10
52+
},
53+
{
54+
"id" : "5:8881960381068888832",
55+
"name" : "modificationDate",
56+
"type" : 10
57+
},
58+
{
59+
"flags" : 8,
60+
"id" : "6:6001769173142034944",
61+
"indexId" : "1:6069708401898380544",
62+
"name" : "author",
63+
"relationTarget" : "Author",
64+
"type" : 11
65+
}
66+
],
67+
"relations" : [
68+
69+
]
70+
}
71+
],
72+
"lastEntityId" : "2:5608901830082711040",
73+
"lastIndexId" : "1:6069708401898380544",
74+
"lastRelationId" : "0:0",
75+
"lastSequenceId" : "0:0",
76+
"modelVersion" : 5,
77+
"modelVersionParserMinimum" : 5,
78+
"retiredEntityUids" : [
79+
80+
],
81+
"retiredIndexUids" : [
82+
83+
],
84+
"retiredPropertyUids" : [
85+
86+
],
87+
"retiredRelationUids" : [
88+
89+
],
90+
"version" : 1
91+
}

Example/model-NotesExample-macOS.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"_note1" : "KEEP THIS FILE! Check it into a version control system (VCS) like git.",
3+
"_note2" : "ObjectBox manages crucial IDs for your object model. See docs for details.",
4+
"_note3" : "If you have VCS merge conflicts, you must resolve them according to ObjectBox docs.",
5+
"entities" : [
6+
{
7+
"id" : "1:712683617673955584",
8+
"lastPropertyId" : "2:5025387500910526208",
9+
"name" : "Author",
10+
"properties" : [
11+
{
12+
"flags" : 1,
13+
"id" : "1:6336800942024279296",
14+
"name" : "id",
15+
"type" : 6
16+
},
17+
{
18+
"id" : "2:5025387500910526208",
19+
"name" : "name",
20+
"type" : 9
21+
}
22+
],
23+
"relations" : [
24+
25+
]
26+
},
27+
{
28+
"id" : "2:5608901830082711040",
29+
"lastPropertyId" : "6:6001769173142034944",
30+
"name" : "Note",
31+
"properties" : [
32+
{
33+
"flags" : 1,
34+
"id" : "1:7180411752564202752",
35+
"name" : "id",
36+
"type" : 6
37+
},
38+
{
39+
"id" : "2:249105953415333376",
40+
"name" : "title",
41+
"type" : 9
42+
},
43+
{
44+
"id" : "3:5661281725891017216",
45+
"name" : "text",
46+
"type" : 9
47+
},
48+
{
49+
"id" : "4:8342334437465755392",
50+
"name" : "creationDate",
51+
"type" : 10
52+
},
53+
{
54+
"id" : "5:8881960381068888832",
55+
"name" : "modificationDate",
56+
"type" : 10
57+
},
58+
{
59+
"flags" : 8,
60+
"id" : "6:6001769173142034944",
61+
"indexId" : "1:6069708401898380544",
62+
"name" : "author",
63+
"relationTarget" : "Author",
64+
"type" : 11
65+
}
66+
],
67+
"relations" : [
68+
69+
]
70+
}
71+
],
72+
"lastEntityId" : "2:5608901830082711040",
73+
"lastIndexId" : "1:6069708401898380544",
74+
"lastRelationId" : "0:0",
75+
"lastSequenceId" : "0:0",
76+
"modelVersion" : 5,
77+
"modelVersionParserMinimum" : 5,
78+
"retiredEntityUids" : [
79+
80+
],
81+
"retiredIndexUids" : [
82+
83+
],
84+
"retiredPropertyUids" : [
85+
86+
],
87+
"retiredRelationUids" : [
88+
89+
],
90+
"version" : 1
91+
}

0 commit comments

Comments
 (0)