moodle/lib/db/schemaCourse_sections.xml

38 lines
986 B
XML
Raw Normal View History

2004-01-02 18:08:06 +00:00
<?xml version="1.0"?>
<schema>
<table name="course_sections">
<field name="id" type="I" size="10">
<KEY/>
<AUTOINCREMENT/>
</field>
<field name="course" type="I" size="10">
<NOTNULL/>
</field>
<field name="section" type="I" size="10">
<NOTNULL/>
</field>
<field name="summary" type="X">
<NOTNULL/>
</field>
<field name="sequence" type="X" default="">
<NOTNULL/>
</field>
<field name="visible" type="L" size="1" default="1">
<NOTNULL/>
</field>
</table>
<sql>
<descr>Insert 1 row for testing only...comment out later</descr>
<query platform="postgres|postgres7">
insert into course_sections values (1,1,1,1,1,1)
</query>
<query platform="mysql">
insert into course_sections values (1,1,1,1,1,1)
</query>
<query platform="oci8po">
insert into course_sections values (1,1,1,1,1,1)
</query>
</sql>
</schema>