Working on OAuth

This commit is contained in:
2021-06-30 18:36:04 +02:00
parent cea5f2c32f
commit bc21d0d508
6 changed files with 27 additions and 108 deletions

View File

@@ -10,10 +10,6 @@ export default class ApiTokens extends BaseSchema {
table.string('name').notNullable()
table.string('type').notNullable()
table.string('token', 64).notNullable()
/**
* "useTz: true" utilizes timezone option in PostgreSQL and MSSQL
*/
table.timestamp('expires_at', { useTz: true }).nullable()
table.timestamp('created_at', { useTz: true }).notNullable()
})