mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
les_kopari
committed
Jan 2, 2004
1 parent
ea22980
commit 7a55fe0
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
|