Skip to content

Commit e42a1ed

Browse files
Update database migration.
1 parent c715284 commit e42a1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/ml/docilealligator/infinityforreddit/RedditDataRoomDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public void migrate(@NonNull SupportSQLiteDatabase database) {
423423
@Override
424424
public void migrate(@NonNull SupportSQLiteDatabase database) {
425425
database.execSQL("ALTER TABLE recent_search_queries ADD COLUMN search_in_subreddit_or_user_name TEXT");
426-
database.execSQL("ALTER TABLE recent_search_queries ADD COLUMN search_in_is_user INTEGER DEFAULT 0 NOT NULL");
426+
database.execSQL("ALTER TABLE recent_search_queries ADD COLUMN search_in_thing_type INTEGER DEFAULT 0 NOT NULL");
427427
}
428428
};
429429
}

0 commit comments

Comments
 (0)