Skip to content

Commit

Permalink
Merge pull request #5425 from grzesiek2010/fixDatabaseUpgrade
Browse files Browse the repository at this point in the history
Bumped database version
  • Loading branch information
grzesiek2010 authored and seadowg committed Jan 27, 2023
1 parent 97a5566 commit b09f3af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public final class DatabaseConstants {

public static final String FORMS_DATABASE_NAME = "forms.db";
public static final String FORMS_TABLE_NAME = "forms";
public static final int FORMS_DATABASE_VERSION = 11;
public static final int FORMS_DATABASE_VERSION = 12;

public static final String INSTANCES_DATABASE_NAME = "instances.db";
public static final String INSTANCES_TABLE_NAME = "instances";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class FormDatabaseMigratorTest {

@Before
public void setup() {
assertThat("Test expects different Forms DB version", DatabaseConstants.FORMS_DATABASE_VERSION, is(11));
assertThat("Test expects different Forms DB version", DatabaseConstants.FORMS_DATABASE_VERSION, is(12));
database = SQLiteDatabase.create(null);
}

Expand Down

0 comments on commit b09f3af

Please sign in to comment.