Browse files

Inserts for MySQL and PostGRES.

  • Loading branch information...
1 parent 218cb96 commit 08481e544c4fb7f14859c56c8cd0ddd6e9c08010 les_kopari committed Dec 24, 2003
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/attendance/db/schema.xml
View
6 mod/attendance/db/schema.xml
@@ -80,12 +80,12 @@
</table>
<sql>
- <descr>SQL to be executed only on specific platforms</descr>
+ <descr>Insert 1 row for testing only...comment out later</descr>
<query platform="postgres|postgres7">
- insert into mytable ( row1, row2 ) values ( 12, 'stuff' )
+ insert into attendance(id,name,course,day,hours,roll,notes,timemodified,dynsection,edited,autoattend) values (1,'1',1,1,1,1,'1',1,1,1,1)
</query>
<query platform="mysql">
- insert into mytable ( row1, row2 ) values ( 12, 'different stuff' )
+ insert into attendance(id,name,course,day,hours,roll,notes,timemodified,dynsection,edited,autoattend) values (1,'1',1,1,1,1,'1',1,1,1,1)
</query>
<query platform="oci8po">
insert into attendance(id,name,course,day,hours,roll,notes,timemodified,dynsection,edited,autoattend) values (1,'1',1,1,1,1,'1',1,1,1,1)

0 comments on commit 08481e5

Please sign in to comment.