/
moduleComment.json
54 lines (54 loc) · 1.3 KB
/
moduleComment.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
{
"tables": {
"comment": {
"fields": {
"id": {
"type": "autoIncId"
},
"user_id": {
"type": "int"
},
"$comment_guest_id": {
"type": "int"
},
"path": {
"type": "string"
},
"root_id": {
"type": "int"
},
"parent_id": {
"type": "int"
},
"level": {
"type": "int"
},
"child_cnt": {
"type": "int"
},
"comment": {
"type": "string"
}
},
"relationships": {
"belongsTo": [
"user",
"$comment_guest"
]
}
},
"comment_guest": {
"fields": {
"id": {
"type": "autoIncId"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
}