Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Initial add.

  • Loading branch information...
commit 7a55fe065dd585db3522fd4b613cade8df9f19b9 1 parent ea22980
authored
43  lib/db/schemaCourse_categories.xml
... ...
@@ -0,0 +1,43 @@
  1
+<?xml version="1.0"?>
  2
+<schema>
  3
+  <table name="course_categories">
  4
+    <field name="id" type="I" size="10">
  5
+      <KEY/>
  6
+      <AUTOINCREMENT/>
  7
+    </field>
  8
+    <field name="name" type="C" size="255">
  9
+      <NOTNULL/>
  10
+    </field>
  11
+    <field name="description" type="X">
  12
+      <NOTNULL/>
  13
+    </field>
  14
+    <field name="parent" type="I" size="10">
  15
+      <NOTNULL/>
  16
+    </field>
  17
+    <field name="sortorder" type="I" size="10">
  18
+      <NOTNULL/>
  19
+    </field>
  20
+    <field name="coursecount" type="I" size="10">
  21
+      <NOTNULL/>
  22
+    </field>
  23
+    <field name="visible" type="L" size="1" default="1">
  24
+      <NOTNULL/>
  25
+    </field>
  26
+    <field name="timemodified" type="L" size="10" default="0">
  27
+      <NOTNULL/>
  28
+    </field>
  29
+  </table>
  30
+  <sql>
  31
+    <descr>Insert 1 row for testing only...comment out later</descr>
  32
+    <query platform="postgres|postgres7">
  33
+      insert into course_categories values (1,'1','1',1,1,1,1,1)
  34
+    </query>
  35
+    <query platform="mysql">
  36
+      insert into course_categories values (1,'1','1',1,1,1,1,1)
  37
+    </query>
  38
+    <query platform="oci8po">
  39
+      insert into course_categories values (1,'1','1',1,1,1,1,1)
  40
+    </query>
  41
+  </sql>
  42
+</schema>
  43
+
31  lib/db/schemaCourse_display.xml
... ...
@@ -0,0 +1,31 @@
  1
+<?xml version="1.0"?>
  2
+<schema>
  3
+  <table name="course_display">
  4
+    <field name="id" type="I" size="10">
  5
+      <KEY/>
  6
+      <AUTOINCREMENT/>
  7
+    </field>
  8
+    <field name="course" type="I" size="10">
  9
+      <NOTNULL/>
  10
+    </field>
  11
+    <field name="userid" type="I" size="10">
  12
+      <NOTNULL/>
  13
+    </field>
  14
+    <field name="display" type="I" size="10">
  15
+      <NOTNULL/>
  16
+    </field>
  17
+  </table>
  18
+  <sql>
  19
+    <descr>Insert 1 row for testing only...comment out later</descr>
  20
+    <query platform="postgres|postgres7">
  21
+      insert into course_display values (1,1,1,1)
  22
+    </query>
  23
+    <query platform="mysql">
  24
+      insert into course_display values (1,1,1,1)
  25
+    </query>
  26
+    <query platform="oci8po">
  27
+      insert into course_display values (1,1,1,1)
  28
+    </query>
  29
+  </sql>
  30
+</schema>
  31
+

0 notes on commit 7a55fe0

Please sign in to comment.
Something went wrong with that request. Please try again.