How i can delete sqlite table when my application start.
my DataBaseHelper have:
@Override
public void onUpgrade(SQLiteDatabase _db, int _oldVersion, int _newVersion)
{
_db.execSQL("DROP TABLE IF EXISTS CARS");
}
But when app start nothing is happening. I want to drop tables if they exist on every start of application.
Thanx