-
Notifications
You must be signed in to change notification settings - Fork 0
/
db.xml
executable file
·82 lines (67 loc) · 2.06 KB
/
db.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0"?>
<schema version="0.3">
<table name="LWPostingTypes">
<field name="ptID" type="I" size="10">
<KEY />
<UNSIGNED />
<AUTOINCREMENT />
</field>
<!-- We'll have to occasionally check that packages are still installed, and clean up those that aren't -->
<field name="ptPkgID" type="I" size="10">
<NOTNULL />
<UNSIGNED />
</field>
<field name="ptCode" type="C" size="50">
<NOTNULL />
</field>
<field name="ptName" type="C" size="50">
<NOTNULL />
</field>
<field name="ptTemplate" type="X" size="1000">
<NOTNULL />
</field>
<field name="ptExampleData" type="X" size="1000">
<NOTNULL />
</field>
<field name="ptShareWith" type="I" size="1">
<NOTNULL />
<UNSIGNED />
</field>
<field name="ptUserOverrideShare" type="L" />
<field name="ptActive" type="L">
<default value="1" />
</field>
<field name="ptCreateDate" type="T">
<DEFTIMESTAMP />
</field>
<field name="ptDeleteDate" type="T" />
<index name="uniquePosting">
<descr>Make sure every package/posting code is unique</descr>
<col>ptPkgID</col>
<col>ptCode</col>
<UNIQUE/>
</index>
</table>
<table name="LWPostings">
<field name="pID" type="I" size="10">
<KEY />
<UNSIGNED />
<AUTOINCREMENT />
</field>
<field name="pptID" type="I" size="10">
<NOTNULL />
<UNSIGNED />
</field>
<field name="pUID" type="I" size="10">
<NOTNULL />
<UNSIGNED />
</field>
<field name="pData" type="X" size="1000">
<NOTNULL />
</field>
<field name="pCreateDate" type="T">
<DEFTIMESTAMP />
</field>
<field name="pDeleteDate" type="T" />
</table>
</schema>