Skip to content

Commit

Permalink
Merge pull request #27506 from software-mansion-labs/ts-migration/kow…
Browse files Browse the repository at this point in the history
…czarz/rename-active-clients-key
  • Loading branch information
dangrous authored Sep 21, 2023
2 parents ca48769 + 2a64eb3 commit 0521a02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 43 deletions.
11 changes: 1 addition & 10 deletions src/libs/migrateOnyx.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import _ from 'underscore';
import Log from './Log';
import AddEncryptedAuthToken from './migrations/AddEncryptedAuthToken';
import RenameActiveClientsKey from './migrations/RenameActiveClientsKey';
import RenamePriorityModeKey from './migrations/RenamePriorityModeKey';
import MoveToIndexedDB from './migrations/MoveToIndexedDB';
import RenameExpensifyNewsStatus from './migrations/RenameExpensifyNewsStatus';
Expand All @@ -14,15 +13,7 @@ export default function () {

return new Promise((resolve) => {
// Add all migrations to an array so they are executed in order
const migrationPromises = [
MoveToIndexedDB,
RenameActiveClientsKey,
RenamePriorityModeKey,
AddEncryptedAuthToken,
RenameExpensifyNewsStatus,
AddLastVisibleActionCreated,
PersonalDetailsByAccountID,
];
const migrationPromises = [MoveToIndexedDB, RenamePriorityModeKey, AddEncryptedAuthToken, RenameExpensifyNewsStatus, AddLastVisibleActionCreated, PersonalDetailsByAccountID];

// Reduce all promises down to a single promise. All promises run in a linear fashion, waiting for the
// previous promise to finish before moving onto the next one.
Expand Down
33 changes: 0 additions & 33 deletions src/libs/migrations/RenameActiveClientsKey.js

This file was deleted.

0 comments on commit 0521a02

Please sign in to comment.