-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathschema.xml
More file actions
46 lines (44 loc) · 1.16 KB
/
schema.xml
File metadata and controls
46 lines (44 loc) · 1.16 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE schema SYSTEM "../../../lib/pkp/dtd/xmlSchema.dtd">
<!--
* plugins/generic/usageStats/schema.xml
*
* Copyright (c) 2013-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Usage stats plugin temporary table for storing temporary stats records.
-->
<schema version="0.2">
<!--
*
* TABLE usage_stats_temporary_records
*
-->
<table name="usage_stats_temporary_records">
<field name="assoc_id" type="I8">
<NOTNULL/>
</field>
<field name="assoc_type" type="I8">
<NOTNULL/>
</field>
<field name="day" type="I8">
<NOTNULL/>
</field>
<field name="entry_time" type="I8">
<NOTNULL/>
</field>
<field name="metric" type="I8">
<NOTNULL/>
<DEFAULT VALUE="1"/>
</field>
<field name="country_id" type="C2" size="2" />
<field name="region" type="C2" size="2" />
<field name="city" type="C2" size="255" />
<field name="load_id" type="C2" size="255">
<NOTNULL/>
</field>
<field name="file_type" type="I1" />
<descr>Usage stats temporary records</descr>
</table>
</schema>