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

Commit d554756

Browse files
lgallgal
authored andcommitted
SORMAS-Foundation#2916 fix merge issues
1 parent 22c5c43 commit d554756

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

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

131-
public static final int DATABASE_VERSION = 231;
131+
public static final int DATABASE_VERSION = 232;
132132

133133
private static DatabaseHelper instance = null;
134134

@@ -1611,8 +1611,8 @@ public void onUpgrade(SQLiteDatabase db, ConnectionSource connectionSource, int
16111611
getDao(Case.class).executeRaw("ALTER TABLE cases ADD COLUMN endOfIsolationReason varchar(255);");
16121612
getDao(Case.class).executeRaw("ALTER TABLE cases ADD COLUMN endOfIsolationReasonDetails varchar(512);");
16131613

1614-
case 230:
1615-
currentVersion = 230;
1614+
case 231:
1615+
currentVersion = 231;
16161616
getDao(Symptoms.class).executeRaw("ALTER TABLE symptoms ADD COLUMN shivering varchar(255);");
16171617

16181618
// ATTENTION: break should only be done after last version

sormas-backend/src/main/resources/sql/sormas_schema.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5368,5 +5368,5 @@ ALTER TABLE symptoms_history ADD COLUMN shivering character varying(255);
53685368
ALTER TABLE symptoms_history RENAME generalsignsofdisease to feelingill;
53695369

53705370

5371-
INSERT INTO schema_version (version_number, comment) VALUES (257, 'Split general signs of disease #2916');
5371+
INSERT INTO schema_version (version_number, comment) VALUES (258, 'Split general signs of disease #2916');
53725372
-- *** Insert new sql commands BEFORE this line ***

0 commit comments

Comments
 (0)