Skip to content

Commit 1b379df

Browse files
committed
A table added in a version > 1 was never created.
Fixes foxykeep#10
1 parent 58815a6 commit 1b379df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generator/res/content_subclass.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// Version %15$d : Creation of the table
5656
%16$s public static void upgradeTable(SQLiteDatabase db, int oldVersion, int newVersion) {
5757

58-
if (oldVersion < 1) {
58+
if (oldVersion < %15$d) {
5959
Log.i(LOG_TAG, "Upgrading from version " + oldVersion + " to " + newVersion
6060
+ ", data will be lost!");
6161

0 commit comments

Comments
 (0)