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,17 @@ [ 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; - `); + `, + { multipleStatements: true }, + ); }, ], ]);