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 @@ -703,6 +703,18 @@ ); }, ], + [ + 56, + async () => { + await dbQuery( + SQL` + UPDATE roles + SET special_role = ${specialRoles.ADMIN_ROLE} + WHERE name = 'Admins' + `, + ); + }, + ], ]); const newDatabaseVersion: number = Math.max(...migrations.keys());