Fix sqlite3.OperationalError on PKC upgrade

This commit is contained in:
croneter 2021-01-24 17:02:47 +01:00
parent b442a54723
commit 98ac67058e

View file

@ -22,7 +22,7 @@ def check_migration():
LOG.info('Already migrated to PKC version %s' % v.ADDON_VERSION) LOG.info('Already migrated to PKC version %s' % v.ADDON_VERSION)
return return
if not utils.compare_version(last_migration, '3.0.5'): if not utils.compare_version(last_migration, '3.0.4'):
LOG.info('Migrating to version 3.0.4') LOG.info('Migrating to version 3.0.4')
# Add an additional column `trailer_synced` in the Plex movie table # Add an additional column `trailer_synced` in the Plex movie table
from .plex_db import PlexDB from .plex_db import PlexDB