Skip to content

Commit

Permalink
advanced db version to remove test backend connections
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Frey committed Nov 19, 2012
1 parent 3233c81 commit d237b65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/org/mythtv/db/DatabaseHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class DatabaseHelper extends SQLiteOpenHelper {
private static final String TAG = DatabaseHelper.class.getSimpleName();

private static final String DATABASE_NAME = "mythtvdb";
private static final int DATABASE_VERSION = 80;
private static final int DATABASE_VERSION = 81;

public DatabaseHelper( Context context ) {
super( context, DATABASE_NAME, null, DATABASE_VERSION );
Expand Down Expand Up @@ -103,8 +103,8 @@ public void onCreate( SQLiteDatabase db ) {
public void onUpgrade( SQLiteDatabase db, int oldVersion, int newVersion ) {
Log.v( TAG, "onUpgrade : enter" );

if( oldVersion < 80 ) {
Log.v( TAG, "onUpgrade : upgrading to db version 80" );
if( oldVersion < 81 ) {
Log.v( TAG, "onUpgrade : upgrading to db version 81" );

onCreate( db );

Expand Down

0 comments on commit d237b65

Please sign in to comment.