We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 169ad5e commit 98ca9f3Copy full SHA for 98ca9f3
roundup/backends/rdbms_common.py
@@ -1,4 +1,4 @@
1
-# $Id: rdbms_common.py,v 1.98.2.7 2004-06-09 07:03:15 richard Exp $
+# $Id: rdbms_common.py,v 1.98.2.8 2004-06-09 09:48:49 richard Exp $
2
''' Relational database (SQL) backend common code.
3
4
Basics:
@@ -201,7 +201,7 @@ def upgrade_db(self):
201
# nothing to do
202
return 0
203
204
- if version == 1:
+ if version < 2:
205
# change the schema structure
206
self.database_schema = {'tables': self.database_schema}
207
@@ -213,7 +213,7 @@ def upgrade_db(self):
213
# database
214
self.create_version_2_tables()
215
216
- if version == 2:
+ if version < 3:
217
self.fix_version_2_tables()
218
219
self.database_schema['version'] = self.current_db_version
0 commit comments