-
Notifications
You must be signed in to change notification settings - Fork 1
/
pictures.json
53 lines (53 loc) · 1.44 KB
/
pictures.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
{
"namespace": "unittest",
"databases": [
{
"name": "db",
"desc": "The database where all pictures info are stored.",
"tables": [
{
"name": "tb",
"desc": "The table where all pictures info are stored.",
"columns" : [
{
"name": "id",
"type": "int",
"primary_key": true,
"auto_increment": true,
"not_null": true,
"desc": "The Unique ID of the picture"
},
{
"name": "path",
"type": "text",
"desc": "the path of the picture",
"not_null": true
},
{
"name": "type",
"type": "text",
"desc": "The image type, e.g. jpg, png, gif...",
"default": "unknown"
},
{
"name": "size",
"type": "bigint",
"desc": "The size of the picture file",
"default": 0
},
{
"name": "md5",
"type": "text",
"desc": "The MD5 checksum of the picture"
},
{
"name": "data",
"type": "blob",
"desc": "The image file data"
}
]
}
]
}
]
}