Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial add.

  • Loading branch information...
commit 7a55fe065dd585db3522fd4b613cade8df9f19b9 1 parent ea22980
les_kopari authored
43 lib/db/schemaCourse_categories.xml
View
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<schema>
+ <table name="course_categories">
+ <field name="id" type="I" size="10">
+ <KEY/>
+ <AUTOINCREMENT/>
+ </field>
+ <field name="name" type="C" size="255">
+ <NOTNULL/>
+ </field>
+ <field name="description" type="X">
+ <NOTNULL/>
+ </field>
+ <field name="parent" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="sortorder" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="coursecount" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="visible" type="L" size="1" default="1">
+ <NOTNULL/>
+ </field>
+ <field name="timemodified" type="L" 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_categories values (1,'1','1',1,1,1,1,1)
+ </query>
+ <query platform="mysql">
+ insert into course_categories values (1,'1','1',1,1,1,1,1)
+ </query>
+ <query platform="oci8po">
+ insert into course_categories values (1,'1','1',1,1,1,1,1)
+ </query>
+ </sql>
+</schema>
+
31 lib/db/schemaCourse_display.xml
View
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<schema>
+ <table name="course_display">
+ <field name="id" type="I" size="10">
+ <KEY/>
+ <AUTOINCREMENT/>
+ </field>
+ <field name="course" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="userid" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ <field name="display" type="I" size="10">
+ <NOTNULL/>
+ </field>
+ </table>
+ <sql>
+ <descr>Insert 1 row for testing only...comment out later</descr>
+ <query platform="postgres|postgres7">
+ insert into course_display values (1,1,1,1)
+ </query>
+ <query platform="mysql">
+ insert into course_display values (1,1,1,1)
+ </query>
+ <query platform="oci8po">
+ insert into course_display values (1,1,1,1)
+ </query>
+ </sql>
+</schema>
+
Please sign in to comment.
Something went wrong with that request. Please try again.