Page MenuHomePhabricator

D11681.id39308.diff
No OneTemporary

D11681.id39308.diff

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

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)

Event Timeline