Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 58 lines (56 sloc) 1.57 KB
<?xml version="1.0"?>
<schema>
<table name="event">
<field name="id" type="I" size="10">
<KEY/>
<AUTOINCREMENT/>
</field>
<field name="name" type="X">
<NOTNULL/>
</field>
<field name="description" type="C" size="255" default="">
<NOTNULL/>
</field>
<field name="courseid" type="I" size="10" default="0">
<KEY/>
<NOTNULL/>
</field>
<field name="groupid" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="userid" type="I" size="10" default="0">
<KEY/>
<NOTNULL/>
</field>
<field name="modulename" type="C" size="20" default="">
<NOTNULL/>
</field>
<field name="instance" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="eventtype" type="C" size="20" default="">
<NOTNULL/>
</field>
<field name="timestart" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="timeduration" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="timemodified" type="I" size="10" default="0">
<NOTNULL/>
</field>
</table>
<sql>
<descr>Insert 1 row for testing only...comment out later</descr>
<query platform="postgres|postgres7">
insert into event values (1,1,1,1,1,1,1,1,1,1,1,1)
</query>
<query platform="mysql">
insert into event values (1,1,1,1,1,1,1,1,1,1,1,1)
</query>
<query platform="oci8po">
insert into event values (1,1,1,1,1,1,1,1,1,1,1,1)
</query>
</sql>
</schema>
Something went wrong with that request. Please try again.