* src/GrampsBSDDB.py: Rename upgrade to avoid collision; add DB

upgrade routine; require DB to be at least version 5 (gramps
2.0.0); separate primary and secondary load (may need to reverse
later).
* src/GrampsDbBase.py: Rename upgrade to avoid collission.
* src/RelLib.py (Witness.py): Add empty class to enable upgrades
from the earlier DB versions.
* src/ViewManager.py: move upgrade into the DB class (may need to
reverse later).


svn: r5553
This commit is contained in:
Alex Roitman
2005-12-15 06:19:37 +00:00
parent fe78de0606
commit 45ccf8db1b
5 changed files with 236 additions and 402 deletions

View File

@ -243,7 +243,7 @@ class GrampsDbBase(GrampsDBCallback.GrampsDBCallback):
def need_upgrade(self):
return False
def upgrade(self):
def gramps_upgrade(self):
pass
def create_id(self):