[SQL-CVS] SQLObject/SQLObject Col.py,1.10,1.11
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-04-19 00:06:06
|
Update of /cvsroot/sqlobject/SQLObject/SQLObject In directory sc8-pr-cvs1:/tmp/cvs-serv5538/SQLObject Modified Files: Col.py Log Message: Fixed Postgres to use TIMESTAMP instead of DATETIME Index: Col.py =================================================================== RCS file: /cvsroot/sqlobject/SQLObject/SQLObject/Col.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Col.py 19 Apr 2003 00:04:07 -0000 1.10 --- Col.py 19 Apr 2003 00:06:04 -0000 1.11 *************** *** 236,241 **** # do any parsing and checking. And DATE and TIME? ! def _sqlType(self): return 'DATETIME' --- 236,244 ---- # do any parsing and checking. And DATE and TIME? ! def _mysqlType(self): return 'DATETIME' + + def _postgresType(self): + return 'TIMESTAMP' |