mirror of
https://github.com/moodle/moodle.git
synced 2025-01-23 08:38:23 +01:00
41 lines
1.1 KiB
XML
Executable File
41 lines
1.1 KiB
XML
Executable File
<?xml version="1.0"?>
|
|
<schema>
|
|
<table name="modules">
|
|
<field name="id" type="I" size="10">
|
|
<KEY/>
|
|
<AUTOINCREMENT/>
|
|
</field>
|
|
<field name="name" type="C" size="20" default="">
|
|
<NOTNULL/>
|
|
</field>
|
|
<field name="version" type="I" size="10" default="0">
|
|
<NOTNULL/>
|
|
</field>
|
|
<field name="cron" type="I" size="10" default="0">
|
|
<NOTNULL/>
|
|
</field>
|
|
<field name="lastcron" type="I" size="10" default="0">
|
|
<NOTNULL/>
|
|
</field>
|
|
<field name="search" type="C" size="255" 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 modules values (1,1,1,1,1,1,1)
|
|
</query>
|
|
<query platform="mysql">
|
|
insert into modules values (1,1,1,1,1,1,1)
|
|
</query>
|
|
<query platform="oci8po">
|
|
insert into modules values (1,1,1,1,1,1,1)
|
|
</query>
|
|
</sql>
|
|
</schema>
|
|
|