@Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { if (databaseHelperListener != null) { databaseHelperListener.onUpgrade(db, oldVersion, newVersion); } checkForeignKeySupport(db); executeCreations(db); executeMigrations(db, oldVersion, newVersion); }
@Override public void onUpgrade(DatabaseWrapper database, int oldVersion, int newVersion) { if (helperListener != null) { helperListener.onUpgrade(database, oldVersion, newVersion); } }