Move to defined from_recipient_id and to_recipient_id columns on message table.

This commit is contained in:
Greyson Parrelli
2023-04-14 14:23:05 -04:00
committed by Cody Henthorne
parent d079f85eca
commit 279ad7945e
86 changed files with 944 additions and 719 deletions

View File

@@ -124,9 +124,10 @@ public class ApplicationMigrations {
static final int RECOVERY_PASSWORD_SYNC = 79;
static final int DECRYPTIONS_DRAINED = 80;
static final int REBUILD_MESSAGE_FTS_INDEX_3 = 81;
static final int TO_FROM_RECIPIENTS = 82;
}
public static final int CURRENT_VERSION = 81;
public static final int CURRENT_VERSION = 82;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -552,6 +553,10 @@ public class ApplicationMigrations {
jobs.put(Version.REBUILD_MESSAGE_FTS_INDEX_3, new RebuildMessageSearchIndexMigrationJob());
}
if (lastSeenVersion < Version.TO_FROM_RECIPIENTS) {
jobs.put(Version.TO_FROM_RECIPIENTS, new DatabaseMigrationJob());
}
return jobs;
}