File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- # $Id: rdbms_common.py,v 1.149 2005-02-14 02:48:11 richard Exp $
1+ # $Id: rdbms_common.py,v 1.150 2005-03-02 14:03:44 a1s Exp $
22''' Relational database (SQL) backend common code.
33
44Basics:
@@ -532,8 +532,9 @@ def create_journal_table(self, spec):
532532 cols = ',' .join (['%s varchar' % x
533533 for x in 'nodeid date tag action params' .split ()])
534534 sql = '''create table %s__journal (
535- nodeid integer, date timestamp, tag varchar(255),
536- action varchar(255), params text)''' % spec .classname
535+ nodeid integer, date %s, tag varchar(255),
536+ action varchar(255), params text)''' % (spec .classname ,
537+ self .hyperdb_to_sql_datatypes [hyperdb .Date ])
537538 self .sql (sql )
538539 self .create_journal_table_indexes (spec )
539540
You can’t perform that action at this time.
0 commit comments