forked from ajnyga/objectsForReview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.xml
84 lines (81 loc) · 1.92 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE schema SYSTEM "../../../lib/pkp/dtd/xmlSchema.dtd">
<!--
* plugins/generic/objectsForReview/schema.xml
*
* Copyright (c) 2014-2019 Simon Fraser University
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* objectsForReviewPlugin DB XML schema.
*
-->
<schema version="0.2">
<!--
*
* TABLE objects_for_review
*
-->
<table name="objects_for_review">
<field name="object_id" type="I8">
<KEY/>
<AUTOINCREMENT/>
</field>
<field name="submission_id" type="I8">
</field>
<field name="context_id" type="I8">
<NOTNULL/>
</field>
<field name="user_id" type="I8">
</field>
<field name="identifier" type="C2" size="255">
<NOTNULL/>
</field>
<field name="identifier_type" type="C2" size="255">
<NOTNULL/>
</field>
<field name="resource_type" type="C2" size="255">
<NOTNULL/>
</field>
</field>
<field name="creator" type="C2" size="255">
<NOTNULL/>
</field>
<field name="date_created" type="T">
<NOTNULL/>
</field>
<descr>List of objects for review</descr>
</table>
<!--
*
* TABLE objects_for_review_settings
*
-->
<table name="objects_for_review_settings">
<field name="object_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>Objects for review settings.</descr>
<index name="objects_for_review_settings_id">
<col>object_id</col>
</index>
<index name="objects_for_review_settings_pkey">
<col>object_id</col>
<col>locale</col>
<col>setting_name</col>
<UNIQUE />
</index>
</table>
</schema>