mirror of
https://github.com/moodle/moodle.git
synced 2025-01-23 08:38:23 +01:00
38 lines
986 B
XML
38 lines
986 B
XML
|
<?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>
|
||
|
|