Fix dangling quote authors.

This commit is contained in:
Greyson Parrelli
2024-12-09 23:23:25 -05:00
parent 3ea9dd5e1d
commit 01979b1c78
16 changed files with 165 additions and 49 deletions

View File

@@ -163,9 +163,10 @@ public class ApplicationMigrations {
static final int AEP_INTRODUCTION = 119;
static final int GROUP_EXTRAS_DB_FIX = 120;
static final int EMOJI_SEARCH_INDEX_CHECK_2 = 121;
static final int QUOTE_AUTHOR_FIX = 122;
}
public static final int CURRENT_VERSION = 121;
public static final int CURRENT_VERSION = 122;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -748,6 +749,10 @@ public class ApplicationMigrations {
jobs.put(Version.EMOJI_SEARCH_INDEX_CHECK_2, new EmojiSearchIndexCheckMigrationJob());
}
if (lastSeenVersion < Version.QUOTE_AUTHOR_FIX) {
jobs.put(Version.QUOTE_AUTHOR_FIX, new DatabaseMigrationJob());
}
return jobs;
}