Class e.p.d.d.DatabaseUpdaterNG(object):

Part of elisa.plugins.database.database_updater View In Hierarchy

Known subclasses: elisa.plugins.database.tests.test_database_updater.DbUpNGDummy

From release 0.5.19 we store the current database version inside the database and go step by step (aka. release by release) up to the version we currently need. That is done in this class. For everything before 0.5.19, the DatabaseUpdaterClassic will be used
Line # Kind Name Docs
335 Method __init__ Undocumented
338 Method get_user_version Undocumented
341 Method get_schema_version Undocumented
380 Method update_from Undocumented
390 Method create_schema Undocumented
402 Method do_conditional_updates Undocumented
438 Method update_db Undocumented
344 Method _update_done Undocumented
348 Method _get_pragma_version Undocumented
360 Method _schema_version_check Undocumented
376 Method _run_classic Undocumented
469 Method _upgrade_to_2 This method updates the database user version to number two. The new
def __init__(self, store):
Undocumented
def get_user_version(self):
Undocumented
def get_schema_version(self):
Undocumented
def _update_done(self, res):
Undocumented
def _get_pragma_version(self, lookup):
Undocumented
def _schema_version_check(self, version):
Undocumented
def _run_classic(self):
Undocumented
def update_from(self, version):
Undocumented
def create_schema(self):
Undocumented
def do_conditional_updates(self, old_result=None):
Undocumented
def update_db(self):
Undocumented
def _upgrade_to_2(self):
This method updates the database user version to number two. The new feature is "keeping track about conditional updates". This allows us to fix problems we have found in the database and keep trac about the fact that we did that fix so that we don't do it again.
API Documentation for Elisa Media Center, generated by pydoctor at 2008-12-15 12:25:45.