I implemented an Android application which use Sqlite database.

When I release a new version of my application (not in playStore), I upload it on my server, so, if the old application is running, calling web service, can understand that new version is available. So, new version is downloaded and installed. 

When the application is overinstalled, the database is not dropped, so if I need to do any changes of my database I need to use the method:

```
public void onUpgrade(SQLiteDatabase _db, int oldVersion, int newVersion)

```

This is fine, unless I need to do many changes in my database. In this case, the code becomes unreadable. So I would to delete the database and create a new one.

How can I perform this task?

**EDIT**: What about using `context.deleteDatabase(DATABASE_NAME);` ?