Commit b37add6a authored by Fabius's avatar Fabius Committed by Toni Beier

Fix des letzten Commits #25

parent 4c65582e
...@@ -83,7 +83,7 @@ public class DatabaseHelper extends OrmLiteSqliteOpenHelper { ...@@ -83,7 +83,7 @@ public class DatabaseHelper extends OrmLiteSqliteOpenHelper {
// nothing to do // nothing to do
} }
} }
else if(oldVersion != newVersion && newVersion == 9) if(oldVersion < 9)
{ {
database.execSQL("ALTER TABLE 'course' ADD COLUMN type INTEGER NOT NULL DEFAULT (0);"); database.execSQL("ALTER TABLE 'course' ADD COLUMN type INTEGER NOT NULL DEFAULT (0);");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment