File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 11This file has been re-purposed to contain specifically the items that need
22doing before the next release:
33
4- - have rdbms backends look up the journal for actor if it's not set
5- - migrate rdbms backends to use typed columns
6- - migrate to numeric ID values (fixes bug 817217)
7-
4+ - finish mysql version 1 -> version 2 migration code
85- ensure index creation is triggered by the version 1->2 update
96 (and other upgrade tests)
7+
8+ Optionally:
9+ - have rdbms backends look up the journal for actor if it's not set
10+ - migrate to numeric ID values (fixes bug 817217)
Original file line number Diff line number Diff line change @@ -111,6 +111,16 @@ class Database(Database):
111111 mysql_backend = 'InnoDB'
112112 #mysql_backend = 'BDB'
113113
114+ hyperdb_to_sql_datatypes = {
115+ hyperdb .String : 'VARCHAR(255)' ,
116+ hyperdb .Date : 'DATETIME' ,
117+ hyperdb .Link : 'INTEGER' ,
118+ hyperdb .Interval : 'VARCHAR(255)' ,
119+ hyperdb .Password : 'VARCHAR(255)' ,
120+ hyperdb .Boolean : 'INTEGER' ,
121+ hyperdb .Number : 'REAL' ,
122+ }
123+
114124 hyperdb_to_sql_value = {
115125 hyperdb .String : str ,
116126 # no fractional seconds for MySQL
You can’t perform that action at this time.
0 commit comments