comparison roundup/backends/back_sqlite.py @ 2224:69f16bb16f83

sqlite migration drops some journal information (thanks David Linke)
author Richard Jones <richard@users.sourceforge.net>
date Sun, 18 Apr 2004 23:05:18 +0000
parents 98d3bf8ffb19
children ac4f295499a4
comparison
equal deleted inserted replaced
2223:9b447ac40be3 2224:69f16bb16f83
1 # $Id: back_sqlite.py,v 1.25 2004-04-18 05:31:02 richard Exp $ 1 # $Id: back_sqlite.py,v 1.26 2004-04-18 23:05:18 richard Exp $
2 '''Implements a backend for SQLite. 2 '''Implements a backend for SQLite.
3 3
4 See https://pysqlite.sourceforge.net/ for pysqlite info 4 See https://pysqlite.sourceforge.net/ for pysqlite info
5 5
6 6
198 198
199 # create the new table 199 # create the new table
200 self.create_class_table(spec) 200 self.create_class_table(spec)
201 201
202 if olddata: 202 if olddata:
203 inscols = [] 203 inscols = ['_actor', '_activity', '_creation', '_creator']
204 for propname,x in new_spec[1]: 204 for propname,x in new_spec[1]:
205 prop = properties[propname] 205 prop = properties[propname]
206 if isinstance(prop, hyperdb.Multilink): 206 if isinstance(prop, hyperdb.Multilink):
207 continue 207 continue
208 elif isinstance(prop, hyperdb.Interval): 208 elif isinstance(prop, hyperdb.Interval):

Roundup Issue Tracker: http://roundup-tracker.org/