diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DBHelper.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DBHelper.java index 587c915cd..ded43b761 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DBHelper.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DBHelper.java @@ -225,7 +225,10 @@ public class DBHelper extends SQLiteOpenHelper { setColumnsEqual( db, TABLE_NAME_SUM, VISID, "rowid" ); makeAutoincrement( db, TABLE_NAME_SUM, s_summaryColsAndTypes ); case 17: - addSumColumn( db, THUMBNAIL ); + if ( 17 == oldVersion ) { + // THUMBNAIL also added by makeAutoincrement above + addSumColumn( db, THUMBNAIL ); + } case 18: createStudyTable( db ); break;