2004-01-01 19:41:48 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<schema>
|
|
|
|
<table name="course">
|
|
|
|
<field name="id" type="I" size="10">
|
|
|
|
<KEY/>
|
|
|
|
<AUTOINCREMENT/>
|
|
|
|
</field>
|
|
|
|
<field name="category" type="I" size="10" default="0">
|
2004-01-17 08:55:22 +00:00
|
|
|
<KEY/>
|
2004-01-01 19:41:48 +00:00
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="sortorder" type="I" size="10" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="password" type="C" size="50" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="fullname" type="C" size="254" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="shortname" type="C" size="15" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="summary" type="X" >
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="format" type="C" size="15" default="topics">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="showgrades" type="L" default="1">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="modinfo" type="X">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="newsitems" type="I1" default="1">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="teacher" type="C" size="100" default="Teacher">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="teachers" type="C" size="100" default="Teachers">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="student" type="C" size="100" default="Student">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="students" type="C" size="100" default="Students">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="guest" type="I1" size="2" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="startdate" type="I" size="10" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="numsections" type="I1" size="5" default="1">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="showrecent" type="I1" size="5" default="1">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="marker" type="I" size="10" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="maxbytes" type="I" size="10" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="showreports" type="I" size="4" default="0">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
|
|
|
<field name="visible" type="I" size="10" default="1">
|
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
2004-01-17 09:06:21 +00:00
|
|
|
<field name="groupmode" type="I" size="4" default="0">
|
2004-01-17 08:55:22 +00:00
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
2004-01-17 09:06:21 +00:00
|
|
|
<field name="groupmodeforce" type="I" size="4" default="0">
|
2004-01-17 08:55:22 +00:00
|
|
|
<NOTNULL/>
|
|
|
|
</field>
|
2004-01-01 19:41:48 +00:00
|
|
|
<field name="timecreated" 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">
|
2004-01-17 12:44:50 +00:00
|
|
|
insert into course values (1,1,1,'1','1','1','1','1',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
|
2004-01-01 19:41:48 +00:00
|
|
|
</query>
|
|
|
|
<query platform="mysql">
|
2004-01-17 12:44:50 +00:00
|
|
|
insert into course values (1,1,1,'1','1','1','1','1',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
|
2004-01-01 19:41:48 +00:00
|
|
|
</query>
|
|
|
|
<query platform="oci8po">
|
2004-01-17 12:44:50 +00:00
|
|
|
insert into course values (1,1,1,'1','1','1','1','1',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
|
2004-01-01 19:41:48 +00:00
|
|
|
</query>
|
|
|
|
</sql>
|
|
|
|
</schema>
|
|
|
|
|