Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3167313
D13889.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13889.diff
View Options
diff --git a/native/redux/persist.js b/native/redux/persist.js
--- a/native/redux/persist.js
+++ b/native/redux/persist.js
@@ -1496,6 +1496,7 @@
state,
ops: {},
}): MigrationFunction<NavInfo, AppState>),
+ [85]: (state: AppState) => unshimClientDB(state, [messageTypes.MULTIMEDIA]),
});
// NOTE: renaming this object, and especially the `version` property
@@ -1506,7 +1507,7 @@
storage: AsyncStorage,
blacklist: persistBlacklist,
debug: __DEV__,
- version: 84,
+ version: 85,
transforms: [
messageStoreMessagesBlocklistTransform,
reportStoreTransform,
diff --git a/web/redux/persist-constants.js b/web/redux/persist-constants.js
--- a/web/redux/persist-constants.js
+++ b/web/redux/persist-constants.js
@@ -3,6 +3,6 @@
const rootKey = 'root';
const rootKeyPrefix = 'persist:';
const completeRootKey = `${rootKeyPrefix}${rootKey}`;
-const storeVersion = 84;
+const storeVersion = 85;
export { rootKey, rootKeyPrefix, completeRootKey, storeVersion };
diff --git a/web/redux/persist.js b/web/redux/persist.js
--- a/web/redux/persist.js
+++ b/web/redux/persist.js
@@ -718,6 +718,10 @@
};
return { state, ops: operations };
}: MigrationFunction<WebNavInfo, AppState>),
+ [85]: (async (state: AppState) => ({
+ state,
+ ops: {},
+ }): MigrationFunction<WebNavInfo, AppState>),
};
const persistConfig: PersistConfig = {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 8, 3:51 AM (4 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2439459
Default Alt Text
D13889.diff (1 KB)
Attached To
Mode
D13889: [native][web] Add migration to unshim Blob-hosted multimedia
Attached
Detach File
Event Timeline
Log In to Comment