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

Commit 439b840

Browse files
SORMAS-Foundation#2474 - Removed duplicate add column command
1 parent cd2774f commit 439b840

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,6 @@ public void onUpgrade(SQLiteDatabase db, ConnectionSource connectionSource, int
14171417
case 211:
14181418
// Re-synchronize all contacts and epi data to prevent missing embedded entities
14191419
currentVersion = 211;
1420-
getDao(Sample.class).executeRaw("ALTER TABLE contacts ADD COLUMN epiData_id bigint REFERENCES epidata (id);");
14211420
getDao(Contact.class).executeRaw("UPDATE contacts SET changeDate = 0 WHERE changeDate IS NOT NULL;");
14221421
getDao(EpiData.class).executeRaw("UPDATE epidata SET changeDate = 0 WHERE changeDate IS NOT NULL;");
14231422
getDao(EpiDataBurial.class).executeRaw("UPDATE epidataburial SET changeDate = 0 WHERE changeDate IS NOT NULL;");

0 commit comments

Comments
 (0)