-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.json
77 lines (71 loc) · 1.58 KB
/
models.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"User": {
"model_type": "Object",
"do_timestamp": true,
"model_key": "UserId",
"structure": {
"UserId" : "VARCHAR(255)",
"Bio" : "VARCHAR(320)",
"ShowActive" : "INTEGER",
"LatestOnline" : "DATE",
"ClientPreference" : "TEXT"
}
},
"ChMeta": {
"model_type": "Object",
"do_timestamp": true,
"model_key": "ChId",
"structure": {
"ChId" : "VARCHAR(255)",
"Type" : "INTEGER",
"Description" : "VARCHAR(320)",
"AccessLevel" : "INTEGER",
"Displayname": "VARCHAR(255)",
"Status": "INTEGER",
"Thumbnail": "TEXT",
"CreatorId": "VARCHAR(255)"
}
},
"ChTagPair": {
"model_type": "Pair",
"model_key": ["ChId", "Tag"],
"do_timestamp": false,
"structure": {
"ChId" : "VARCHAR(255)",
"Tag" : "VARCHAR(255)"
}
},
"ChUserPair": {
"model_type": "Pair",
"model_key": ["ChId", "UserId"],
"do_timestamp": true,
"structure": {
"ChId" : "VARCHAR(255)",
"UserId" : "VARCHAR(255)",
"Role": "INTEGER",
"LatestRLn": "INTEGER",
"Addedby": "VARCHAR(255)",
"Mute": "INTEGER"
}
},
"Message": {
"model_type": "GroupIndexedList",
"do_timestamp": true,
"structure": {
"UserId": "VARCHAR(255)",
"Type": "INTEGER",
"Contain": "TEXT",
"Detail": "TEXT"
}
},
"UserRel": {
"model_type": "Pair",
"model_key": ["UserId", "ToUserId"],
"do_timestamp": false,
"structure": {
"UserId" : "VARCHAR(255)",
"ToUserId" : "VARCHAR(255)",
"Type": "INTEGER"
}
}
}