diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-11-10 21:01:41 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-11-10 21:01:41 +0100 |
commit | ad04a80ae7b2091c94b0d007c2a78d97e7af871d (patch) | |
tree | 0d43b619ddcc6ea6d1222595d7a56db5a8c6e823 /app/src/main/java/de/danoeh/antennapod/config | |
parent | 6035e8fee91d895dd3a0fcedbedab2bc9de5b6a1 (diff) | |
download | AntennaPod-ad04a80ae7b2091c94b0d007c2a78d97e7af871d.zip |
Squashed commit of the following:
commit 7d0e6d5c2dc75f8f1e54f4a1279c6b0cffa7b8cc
Author: daniel oeh <daniel.oeh@gmail.com>
Date: Mon Nov 10 21:00:58 2014 +0100
Made tests compile
commit 05c57df87dd469d8f64835700eefe2e3c87e04e4
Author: daniel oeh <daniel.oeh@gmail.com>
Date: Mon Nov 10 20:56:58 2014 +0100
Removed unused code
commit 0a1fbc9e6d9648646140e30dec0ec8389fb8d37f
Author: daniel oeh <daniel.oeh@gmail.com>
Date: Thu Nov 6 15:48:24 2014 +0100
Added UI controls to download more feed pages
closes #245
commit 6486fb40f1d03887e264df95946f91f0a9cdac9b
Author: daniel oeh <daniel.oeh@gmail.com>
Date: Thu Nov 6 14:49:43 2014 +0100
Added support for downloading feed pages
commit e1faa06908bfd50f2aa0c28ee5118772c4281557
Author: daniel oeh <daniel.oeh@gmail.com>
Date: Wed Nov 5 21:27:03 2014 +0100
Added "paged" and "loadAllPages" attributes
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/config')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/config/StorageCallbacksImpl.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/config/StorageCallbacksImpl.java b/app/src/main/java/de/danoeh/antennapod/config/StorageCallbacksImpl.java index ec133aed1..ebb3780b7 100644 --- a/app/src/main/java/de/danoeh/antennapod/config/StorageCallbacksImpl.java +++ b/app/src/main/java/de/danoeh/antennapod/config/StorageCallbacksImpl.java @@ -13,7 +13,7 @@ public class StorageCallbacksImpl implements StorageCallbacks { @Override public int getDatabaseVersion() { - return 12; + return 13; } @Override @@ -103,5 +103,11 @@ public class StorageCallbacksImpl implements StorageCallbacks { + " ADD COLUMN " + PodDBAdapter.KEY_IMAGE + " INTEGER"); } + if (oldVersion <= 12) { + db.execSQL("ALTER TABLE " + PodDBAdapter.TABLE_NAME_FEEDS + + " ADD COLUMN " + PodDBAdapter.KEY_IS_PAGED + " INTEGER DEFAULT 0"); + db.execSQL("ALTER TABLE " + PodDBAdapter.TABLE_NAME_FEEDS + + " ADD COLUMN " + PodDBAdapter.KEY_NEXT_PAGE_LINK + " TEXT"); + } } } |