Page MenuHomePhabricator

D5521.id18034.diff
No OneTemporary

D5521.id18034.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
@@ -50,14 +50,19 @@
[
6,
async () => {
- await dbQuery(SQL`
+ await dbQuery(
+ SQL`
ALTER TABLE users
DROP COLUMN public_key,
MODIFY hash char(60) COLLATE utf8mb4_bin DEFAULT NULL;
-
- ALTER TABLE sessions
- DROP COLUMN public_key;
- `);
+ `,
+ );
+ },
+ ],
+ [
+ 7,
+ async () => {
+ await dbQuery(SQL`ALTER TABLE sessions DROP COLUMN public_key;`);
},
],
]);

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 10:40 PM (19 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2696909
Default Alt Text
D5521.id18034.diff (681 B)

Event Timeline