Permalink
Browse files

Initial.

  • Loading branch information...
les_kopari
les_kopari committed Jan 2, 2004
1 parent 7a55fe0 commit 5a2f8b8dcd621a7cb2354533b4c158409bfae402
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<schema>
+ <table name="course_groups">
+ <field name="id" type="I" size="10">
+ <KEY/>
+ <AUTOINCREMENT/>
+ </field>
+ <field name="courseid" type="I" size="10" default="0">
+ <NOTNULL/>
+ </field>
+ <field name="name" type="C" size="254" default="">
+ <NOTNULL/>
+ </field>
+ <field name="description" type="X">
+ <NOTNULL/>
+ </field>
+ <field name="lang" type="C" size="10" default="en">
+ <NOTNULL/>
+ </field>
+ <field name="picture" type="I" size="10" default="1">
+ <NOTNULL/>
+ </field>
+ <field name="timecreated" type="I" size="10" default="1">
+ <NOTNULL/>
+ </field>
+ <field name="timemodified" type="I" size="10" default="1">
+ <NOTNULL/>
+ </field>
+ </table>
+ <sql>
+ <descr>Insert 1 row for testing only...comment out later</descr>
+ <query platform="postgres|postgres7">
+ insert into course_groups values (1,1,1,1,1,1,1,1)
+ </query>
+ <query platform="mysql">
+ insert into course_groups values (1,1,1,1,1,1,1,1)
+ </query>
+ <query platform="oci8po">
+ insert into course_groups values (1,1,1,1,1,1,1,1)
+ </query>
+ </sql>
+</schema>
+
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<schema>
+ <table name="course_groups_members">
+ <field name="id" type="I" size="10">
+ <KEY/>
+ <AUTOINCREMENT/>
+ </field>
+ <field name="groupid" type="I" size="10" default="0">
+ <NOTNULL/>
+ </field>
+ <field name="userid" type="I" size="10" default="0">
+ <NOTNULL/>
+ </field>
+ <field name="timeadded" 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 course_groups_members values (1,1,1,1)
+ </query>
+ <query platform="mysql">
+ insert into course_groups_members values (1,1,1,1)
+ </query>
+ <query platform="oci8po">
+ insert into course_groups_members values (1,1,1,1)
+ </query>
+ </sql>
+</schema>
+
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<schema>
+ <table name="course_modules">
+ <field name="id" type="I" size="10">
+ <KEY/>
+ <AUTOINCREMENT/>
+ </field>
+ <field name="course" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="module" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="instance" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="section" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="added" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="deleted" type="L" size="4">
+ <NOTNULL/>
+ </field>
+ <field name="score" type="L" size="4">
+ <NOTNULL/>
+ </field>
+ <field name="indent" type="I" size="5">
+ <NOTNULL/>
+ </field>
+ <field name="visible" type="L" size="1">
+ <NOTNULL/>
+ </field>
+ </table>
+ <sql>
+ <descr>Insert 1 row for testing only...comment out later</descr>
+ <query platform="postgres|postgres7">
+ insert into course_modules values (1,1,1,1,1,1,1,1,1,1)
+ </query>
+ <query platform="mysql">
+ insert into course_modules values (1,1,1,1,1,1,1,1,1,1)
+ </query>
+ <query platform="oci8po">
+ insert into course_modules values (1,1,1,1,1,1,1,1,1,1)
+ </query>
+ </sql>
+</schema>
+
@@ -0,0 +1,37 @@
+<?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>
+
Oops, something went wrong.

0 comments on commit 5a2f8b8

Please sign in to comment.