Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New columns.

  • Loading branch information...
commit 339ac7daa59b3397c1da3d640a4135c1394ebae0 1 parent 68cd645
les_kopari authored
View
11 lib/db/schemaConfig.xml
@@ -1,17 +1,14 @@
<?xml version="1.0"?>
<schema>
-
<table name="config">
-
<field name="id" type="I" size="10">
<KEY/>
<AUTOINCREMENT/>
</field>
-
<field name="name" type="C" size="255">
<NOTNULL/>
+ <KEY/>
</field>
-
<field name="value" type="C" size="255">
<NOTNULL/>
</field>
@@ -19,13 +16,13 @@
<sql>
<descr>Insert 1 row for testing only...comment out later</descr>
<query platform="postgres|postgres7">
- insert into config(id,name,value) values (1,'1','1')
+ insert into config values (1,'1','1')
</query>
<query platform="mysql">
- insert into config(id,name,value) values (1,'1','1')
+ insert into config values (1,'1','1')
</query>
<query platform="oci8po">
- insert into config(id,name,value) values (1,'1','1')
+ insert into config values (1,'1','1')
</query>
</sql>
</schema>
View
6 lib/db/schemaCourse.xml
@@ -88,13 +88,13 @@
<sql>
<descr>Insert 1 row for testing only...comment out later</descr>
<query platform="postgres|postgres7">
- insert into course(1,1,1,'1','1','1','1','1','1','1',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
+ insert into course values (1,1,1,'1','1','1','1','1',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
</query>
<query platform="mysql">
- insert into course values (1,1,1,'1','1','1','1','1',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
+ insert into course values (1,1,1,'1','1','1','1','1',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
</query>
<query platform="oci8po">
- insert into course values (1,1,1,'1','1','1','1','1',1,'1',1,'1','1','1','1',1,1,1,1,1,1,1,1,1,1)
+ insert into course values (1,1,1,'1','1','1','1','1',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
</query>
</sql>
</schema>
View
6 lib/db/schemaCourse_display.xml
@@ -5,13 +5,13 @@
<KEY/>
<AUTOINCREMENT/>
</field>
- <field name="course" type="I" size="10">
+ <field name="course" type="I" size="10" default="0">
<NOTNULL/>
</field>
- <field name="userid" type="I" size="10">
+ <field name="userid" type="I" size="10" default="0">
<NOTNULL/>
</field>
- <field name="display" type="I" size="10">
+ <field name="display" type="I" size="10" default="0">
<NOTNULL/>
</field>
</table>
Please sign in to comment.
Something went wrong with that request. Please try again.