Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3359049
D11681.id39308.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
615 B
Referenced Files
None
Subscribers
None
D11681.id39308.diff
View Options
diff --git a/keyserver/src/database/migration-config.js b/keyserver/src/database/migration-config.js
--- a/keyserver/src/database/migration-config.js
+++ b/keyserver/src/database/migration-config.js
@@ -745,6 +745,19 @@
},
],
[59, () => dbQuery(SQL`DROP TABLE one_time_keys`)],
+ [
+ 60,
+ async () => {
+ await dbQuery(
+ SQL`
+ DELETE
+ FROM messages
+ WHERE type = 22
+ AND JSON_EXTRACT(content, '$.operation') = 'farcaster_mutual'
+ `,
+ );
+ },
+ ],
]);
const newDatabaseVersion: number = Math.max(...migrations.keys());
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 6:51 AM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2578427
Default Alt Text
D11681.id39308.diff (615 B)
Attached To
Mode
D11681: [keyserver] Remove `UPDATE_RELATIONSHIP.farcaster_mutual` messages from KeyserverDB
Attached
Detach File
Event Timeline
Log In to Comment