Merge pull request #1300 from croneter/fix-migration

Fix sqlite3.OperationalError on PKC upgrade
This commit is contained in:
croneter 2021-01-24 17:05:31 +01:00 committed by GitHub
commit 21788624b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ def check_migration():
LOG.info('Already migrated to PKC version %s' % v.ADDON_VERSION)
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')
# Add an additional column `trailer_synced` in the Plex movie table
from .plex_db import PlexDB