install.xml 1.28 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="lib/db" VERSION="20060926" COMMENT="XMLDB file for core Mahara tables"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../lib/xmldb/xmldb.xsd"
>
    <TABLES>
        <TABLE NAME="notification_internal_activity">
            <FIELDS>
                <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true" />
                <FIELD NAME="type" TYPE="char" LENGTH="50" NOTNULL="true" />
11
                <FIELD NAME="usr" TYPE="int" LENGTH="10" NOTNULL="true" />
12
                <FIELD NAME="ctime" TYPE="datetime" NOTNULL="true" />
13
14
                <FIELD NAME="subject" TYPE="text" NOTNULL="false" />
                <FIELD NAME="message" TYPE="text" NOTNULL="false" />
15
16
17
18
19
                <FIELD NAME="url" TYPE="text" NOTNULL="false" />
                <FIELD NAME="read" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" />
            </FIELDS>
            <KEYS>
                <KEY NAME="primary" TYPE="primary" FIELDS="id" />
20
                <KEY NAME="typefk" TYPE="foreign" FIELDS="type" REFTABLE="activity_type" REFFIELDS="name" />
21
                <KEY NAME="userfk" TYPE="foreign" FIELDS="usr" REFTABLE="usr" REFFIELDS="id" />
22
23
24
25
            </KEYS>
        </TABLE>
    </TABLES>
</XMLDB>