Add reminder for altering the hide table

filtering
Floens 10 years ago
parent dd22474ca8
commit 39567f1ba7
  1. 2
      Clover/app/src/main/java/org/floens/chan/database/DatabaseHelper.java

@ -150,6 +150,8 @@ public class DatabaseHelper extends OrmLiteSqliteOpenHelper {
if (oldVersion < 16) {
try {
// WARNING: change this to a sql query when the columns need to be altered later on!
// Otherwise it could create a table with the columns already added, and an add column query could error out.
TableUtils.createTable(connectionSource, ThreadHide.class);
} catch (SQLException e) {
Logger.e(TAG, "Error upgrading to version 16", e);

Loading…
Cancel
Save