moodle/lib/db/schemaScale.xml
2004-01-02 18:08:06 +00:00

41 lines
1.0 KiB
XML
Executable File

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