Fix for migration issues

This commit is contained in:
echel0n 2014-05-12 12:18:27 -07:00
parent 651e71082e
commit 7d6e73f026

View file

@ -548,6 +548,7 @@ class AddSubtitlesSupport(AddDvdOrderOption):
return self.checkDBVersion() >= 21
def execute(self):
if not self.hasColumn("tv_shows", "subtitles"):
self.addColumn("tv_shows", "subtitles")
self.addColumn("tv_episodes", "subtitles", "TEXT", "")
self.addColumn("tv_episodes", "subtitles_searchcount")