@Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { ZMRKLog.i( "greenDAO", "Upgrading schema from version " + oldVersion + " to " + newVersion + " by dropping all tables"); dropAllTables(db, true); onCreate(db); }
@Override public void onCreate(SQLiteDatabase db) { ZMRKLog.i("greenDAO", "Creating tables for schema version " + SCHEMA_VERSION); createAllTables(db, false); }