-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.xml
59 lines (59 loc) · 1.21 KB
/
schema.xml
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
<!--
* plugins/generic/volumesForm/schema.xml
*
* VolumeFormPlugin DB XML schema.
*
-->
<schema version="0.2">
<!--
*
* TABLE volumes
*
-->
<table name="volumes">
<field name="volume_id" type="I8">
<KEY />
<AUTOINCREMENT />
</field>
<field name="context_id" type="I8">
<NOTNULL />
</field>
<field name="path" type="C2" size="255">
<NOTNULL />
</field>
<field name="image" type="X" />
<descr>List of volumes for a press.</descr>
</table>
<!--
*
* TABLE volume_settings
*
-->
<table name="volume_settings">
<field name="volume_id" type="I8">
<NOTNULL />
</field>
<field name="locale" type="C2" size="14">
<NOTNULL />
<DEFAULT VALUE="" />
</field>
<field name="setting_name" type="C2" size="255">
<NOTNULL />
</field>
<field name="setting_value" type="X" />
<field name="setting_type" type="C2" size="6">
<NOTNULL />
<descr>(bool|int|float|string|object)</descr>
</field>
<descr>Volume settings.</descr>
<index name="volume_settings_id">
<col>volume_id</col>
</index>
<index name="volume_settings_pkey">
<col>volume_id</col>
<col>locale</col>
<col>setting_name</col>
<UNIQUE />
</index>
</table>
</schema>