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

47 lines
1.2 KiB
XML
Executable File

<?xml version="1.0"?>
<schema>
<table name="log">
<field name="id" type="I" size="10">
<KEY/>
<AUTOINCREMENT/>
</field>
<field name="time" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="userid" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="ip" type="C" size="15" default="">
<NOTNULL/>
</field>
<field name="course" type="I" size="10" default="0">
<NOTNULL/>
</field>
<field name="module" type="C" size="10" default="0">
<NOTNULL/>
</field>
<field name="action" type="C" size="15" default="0">
<NOTNULL/>
</field>
<field name="url" type="C" size="100" default="0">
<NOTNULL/>
</field>
<field name="info" type="C" size="255" default="">
<NOTNULL/>
</field>
</table>
<sql>
<descr>Insert 1 row for testing only...comment out later</descr>
<query platform="postgres|postgres7">
insert into log values (1,1,1,1,1,1,1,1,1)
</query>
<query platform="mysql">
insert into log values (1,1,1,1,1,1,1,1,1)
</query>
<query platform="oci8po">
insert into log values (1,1,1,1,1,1,1,1,1)
</query>
</sql>
</schema>