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
381 Method __init__ Undocumented
384 Method get_user_version Undocumented
387 Method get_schema_version Undocumented
426 Method update_from Undocumented
436 Method create_schema Undocumented
448 Method do_conditional_updates Undocumented
484 Method update_db Undocumented
390 Method _update_done Undocumented
394 Method _get_pragma_version Undocumented
406 Method _schema_version_check Undocumented
422 Method _run_classic Undocumented
515 Method _upgrade_to_2 This method updates the database user version to number two. The new
528 Method _upgrade_to_3 Upgrades the database to version 3. The new tables are movies,
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.
def _upgrade_to_3(self):
Upgrades the database to version 3. The new tables are movies, tvseasons and tvepisodes.
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.