auth-backend: refactor identity APIs for forwards compatibility

This commit is contained in:
Patrik Oldsberg
2020-06-20 14:33:34 +02:00
parent 625f50725b
commit 48b6f9533c
6 changed files with 25 additions and 24 deletions
@@ -34,10 +34,7 @@ exports.up = async function up(knex) {
.notNullable()
.defaultTo(knex.fn.now())
.comment('The creation time of the key');
table
.string('key')
.notNullable()
.comment('The serialized public part of the signing key');
table.string('key').notNullable().comment('The serialized signing key');
});
};