mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-23 16:30:27 +01:00
Working on OAuth
This commit is contained in:
@@ -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()
|
||||
})
|
||||
Reference in New Issue
Block a user