moodle/lib/db/schemaCourse_display.xml
2004-01-17 12:44:50 +00:00

32 lines
844 B
XML
Executable File

<?xml version="1.0"?>
<schema>
<table name="course_display">
<field name="id" type="I" size="10">
<KEY/>
<AUTOINCREMENT/>
</field>
<field name="course" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="userid" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="display" 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 course_display values (1,1,1,1)
</query>
<query platform="mysql">
insert into course_display values (1,1,1,1)
</query>
<query platform="oci8po">
insert into course_display values (1,1,1,1)
</query>
</sql>
</schema>