aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml/docilealligator
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-08-21 19:36:50 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-08-21 19:36:50 +0000
commite42a1ed9d3cb9b62f1b15cda9797ed69a2f7b066 (patch)
tree88685b1d462769b6e0ab3806137bd1e20e8c38fb /app/src/main/java/ml/docilealligator
parentc715284619bd8cb9990c01877f9d2a86534ee57f (diff)
downloadinfinity-for-reddit-e42a1ed9d3cb9b62f1b15cda9797ed69a2f7b066.tar
infinity-for-reddit-e42a1ed9d3cb9b62f1b15cda9797ed69a2f7b066.tar.gz
infinity-for-reddit-e42a1ed9d3cb9b62f1b15cda9797ed69a2f7b066.tar.bz2
infinity-for-reddit-e42a1ed9d3cb9b62f1b15cda9797ed69a2f7b066.tar.lz
infinity-for-reddit-e42a1ed9d3cb9b62f1b15cda9797ed69a2f7b066.tar.xz
infinity-for-reddit-e42a1ed9d3cb9b62f1b15cda9797ed69a2f7b066.tar.zst
infinity-for-reddit-e42a1ed9d3cb9b62f1b15cda9797ed69a2f7b066.zip
Update database migration.
Diffstat (limited to 'app/src/main/java/ml/docilealligator')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java b/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java
index 9a9afc4d..4e49676d 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java
@@ -423,7 +423,7 @@ public abstract class RedditDataRoomDatabase extends RoomDatabase {
@Override
public void migrate(@NonNull SupportSQLiteDatabase database) {
database.execSQL("ALTER TABLE recent_search_queries ADD COLUMN search_in_subreddit_or_user_name TEXT");
- database.execSQL("ALTER TABLE recent_search_queries ADD COLUMN search_in_is_user INTEGER DEFAULT 0 NOT NULL");
+ database.execSQL("ALTER TABLE recent_search_queries ADD COLUMN search_in_thing_type INTEGER DEFAULT 0 NOT NULL");
}
};
}