Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 9e098c2

Browse files
lgallgal
authored andcommitted
SORMAS-Foundation#3411 fix merge conflict
1 parent ce7eb8a commit 9e098c2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

sormas-app/app/src/main/java/de/symeda/sormas/app/backend/common/DatabaseHelper.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public class DatabaseHelper extends OrmLiteSqliteOpenHelper {
152152
public static final String DATABASE_NAME = "sormas.db";
153153
// any time you make changes to your database objects, you may have to increase the database version
154154

155-
public static final int DATABASE_VERSION = 248;
155+
public static final int DATABASE_VERSION = 249;
156156

157157
private static DatabaseHelper instance = null;
158158

@@ -1779,13 +1779,13 @@ public void onUpgrade(SQLiteDatabase db, ConnectionSource connectionSource, int
17791779
getDao(Contact.class).executeRaw("ALTER TABLE contacts ADD column multidaycontact boolean default false;");
17801780
getDao(Contact.class).executeRaw("ALTER TABLE contacts ADD column firstcontactdate timestamp;");
17811781

1782-
case 247:
1783-
currentVersion = 247;
1782+
case 248:
1783+
currentVersion = 248;
17841784

1785-
getDao(Person.class).executeRaw("ALTER TABLE person ADD COLUMN salutation varchar(255)");
1786-
getDao(Person.class).executeRaw("ALTER TABLE person ADD COLUMN otherSalutation varchar(512)");
1785+
getDao(Person.class).executeRaw("ALTER TABLE person ADD COLUMN salutation varchar(255)");
1786+
getDao(Person.class).executeRaw("ALTER TABLE person ADD COLUMN otherSalutation varchar(512)");
17871787

1788-
// ATTENTION: break should only be done after last version
1788+
// ATTENTION: break should only be done after last version
17891789
break;
17901790
default:
17911791
throw new IllegalStateException("onUpgrade() with unknown oldVersion " + oldVersion);

0 commit comments

Comments
 (0)