title: onDowngrade() in SQLiteOpenHelper (or another way to not crash when downgrading)
body: <p>Very new to Java.  Working with my app, and decided, I'd drop my DATABASE_VERSION back down to 1 (no real reason).</p>
  
  <p>When I started the app, it crashed, and one of the errors was:</p>
  
  <blockquote>
    <p>E/AndroidRuntime(14905): Caused by:
    android.database.sqlite.SQLiteException: Can't downgrade database from
    version 17 to 4</p>
    
    <p>E/AndroidRuntime(14905):  at
    android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:307)</p>
  </blockquote>
  
  <p>I already have an <code>onUpgrade()</code>, where I delete the tables then runs the <code>onCreate()</code>... so I thought I'd make an <code>onDowngrade()</code>:</p>
  
  <pre><code>@Override
  public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion) {
      onUpgrade(db);
  }
  </code></pre>
  
  <p>But apparently that's not a superclass method that I can override.</p>
  
  <p>Is there a way (easy way hopefully) to allow me to change the database version to any number I want and have it still run without crashing immediately?</p>