MDL-41806 Add assessors to moodle_url class
[moodle.git] / portfolio / mahara / db / install.xml
blobda9741da6bea88fe9410821299b2cfcd131e6b6a
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <XMLDB PATH="portfolio/mahara/db" VERSION="20120122" COMMENT="XMLDB file for Moodle portfolio/mahara"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4     xsi:noNamespaceSchemaLocation="../../../../lib/xmldb/xmldb.xsd"
6   <TABLES>
7     <TABLE NAME="portfolio_mahara_queue" COMMENT="maps mahara tokens to transfer ids">
8       <FIELDS>
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."/>
12       </FIELDS>
13       <KEYS>
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"/>
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>