* src/GrampsBSDDB.py (upgrade): Disable upgrade_7 until this is properly working to not accidently destroy a database from gramps20
svn: r4875
This commit is contained in:
parent
7b8f9b3788
commit
1cf3a2a99c
@ -1,3 +1,7 @@
|
|||||||
|
2005-06-24 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
|
* src/GrampsBSDDB.py (upgrade): Disable upgrade_7 until this is
|
||||||
|
properly working to not accidently destroy a database from gramps20
|
||||||
|
|
||||||
2005-06-20 Don Allingham <don@gramps-project.org>
|
2005-06-20 Don Allingham <don@gramps-project.org>
|
||||||
* src/GenericFilter.py: optimize looping and reducing fetches
|
* src/GenericFilter.py: optimize looping and reducing fetches
|
||||||
* src/Utils.py: fix event handle accesses
|
* src/Utils.py: fix event handle accesses
|
||||||
|
@ -516,10 +516,12 @@ class GrampsBSDDB(GrampsDbBase):
|
|||||||
self.upgrade_5()
|
self.upgrade_5()
|
||||||
if version < 6:
|
if version < 6:
|
||||||
self.upgrade_6()
|
self.upgrade_6()
|
||||||
if version < 7:
|
|
||||||
self.upgrade_7()
|
|
||||||
self.metadata['version'] = _DBVERSION
|
self.metadata['version'] = _DBVERSION
|
||||||
print 'Successfully finished all upgrades'
|
if version < 7:
|
||||||
|
#self.upgrade_7()
|
||||||
|
raise Exception("Currently there is no database upgrade available")
|
||||||
|
else:
|
||||||
|
print 'Successfully finished all upgrades'
|
||||||
|
|
||||||
def upgrade_2(self,child_rel_notrans):
|
def upgrade_2(self,child_rel_notrans):
|
||||||
print "Upgrading to DB version 2"
|
print "Upgrading to DB version 2"
|
||||||
|
Loading…
Reference in New Issue
Block a user