DB upgrades not backwards compatible (even when their are)
Bug #665607 reported by
Siegfried Gevatter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Not sure if we already fixed this, but just in case.
INFO:zeitgeist.
CRITICAL:
Related branches
Changed in zeitgeist: | |
status: | Confirmed → Fix Committed |
Changed in zeitgeist: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Proposed fix:
=== modified file '_zeitgeist/ engine/ sql.py' engine/ sql.py 2010-09-21 16:15:14 +0000 engine/ sql.py 2010-10-23 15:41:34 +0000
core_schema_ version = _get_schema_ version( cursor, constants. CORE_SCHEMA) CORE_SCHEMA_ VERSION: CORE_SCHEMA_ VERSION:
return True
else:
try:
--- _zeitgeist/
+++ _zeitgeist/
@@ -114,7 +114,7 @@
# See if we have the right schema version, and try an upgrade if needed
if core_schema_version is not None:
- if core_schema_version == constants.
+ if core_schema_version >= constants.