diff options
Diffstat (limited to 'storage/database')
-rw-r--r-- | storage/database/src/main/java/de/danoeh/antennapod/storage/database/DBUpgrader.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/DBUpgrader.java b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/DBUpgrader.java index b7aec5b39..5285010c3 100644 --- a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/DBUpgrader.java +++ b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/DBUpgrader.java @@ -7,6 +7,7 @@ import android.media.MediaMetadataRetriever; import android.util.Log; import de.danoeh.antennapod.model.feed.FeedItem; +import de.danoeh.antennapod.model.feed.FeedPreferences; import static de.danoeh.antennapod.model.feed.FeedPreferences.SPEED_USE_GLOBAL; @@ -336,7 +337,8 @@ class DBUpgrader { } if (oldVersion < 3040000) { db.execSQL("ALTER TABLE " + PodDBAdapter.TABLE_NAME_FEEDS - + " ADD COLUMN " + PodDBAdapter.KEY_FEED_SKIP_SILENCE + " INTEGER"); + + " ADD COLUMN " + PodDBAdapter.KEY_FEED_SKIP_SILENCE + + " INTEGER DEFAULT " + FeedPreferences.SkipSilence.GLOBAL.code); } } |