auth-backend: make DatabaseKeyStore only return valid keys and remove expired ones
This commit is contained in:
@@ -30,7 +30,7 @@ exports.up = async function up(knex) {
|
||||
.notNullable()
|
||||
.comment('ID of the signing key');
|
||||
table
|
||||
.timestamp('created_at')
|
||||
.timestamp('created_at', { useTz: false, precision: 0 })
|
||||
.notNullable()
|
||||
.defaultTo(knex.fn.now())
|
||||
.comment('The creation time of the key');
|
||||
|
||||
Reference in New Issue
Block a user