Merge branch 'MDL-68565' of https://github.com/paulholden/moodle
[moodle.git] / portfolio / mahara / db / install.xml
CommitLineData
254f2d05 1<?xml version="1.0" encoding="UTF-8" ?>
c3dd6b01 2<XMLDB PATH="portfolio/mahara/db" VERSION="20120122" COMMENT="XMLDB file for Moodle portfolio/mahara"
254f2d05 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
015e612a 4 xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
254f2d05 5>
6 <TABLES>
7 <TABLE NAME="portfolio_mahara_queue" COMMENT="maps mahara tokens to transfer ids">
8 <FIELDS>
7a18f49c
PS
9 <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
10 <FIELD NAME="transferid" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false" COMMENT="fk to portfolio_tempdata.id"/>
11 <FIELD NAME="token" TYPE="char" LENGTH="50" NOTNULL="true" SEQUENCE="false" COMMENT="the token mahara sent us to use for this transfer."/>
254f2d05 12 </FIELDS>
13 <KEYS>
7a18f49c
PS
14 <KEY NAME="primary" TYPE="primary" FIELDS="id"/>
15 <KEY NAME="transferfk" TYPE="foreign" FIELDS="transferid" REFTABLE="portfolio_tempdata" REFFIELDS="id" COMMENT="fk to portfolio_tempdata"/>
254f2d05 16 </KEYS>
17 <INDEXES>
18 <INDEX NAME="tokenidx" UNIQUE="false" FIELDS="token" COMMENT="index for token field (used for lookups)"/>
19 </INDEXES>
20 </TABLE>
21 </TABLES>
22</XMLDB>