refresh_tokens: add app inside each refresh token
This commit is contained in:
parent
2caf584cb7
commit
956f28f7e5
11 changed files with 109 additions and 75 deletions
|
|
@ -3,6 +3,7 @@ select
|
|||
token,
|
||||
ip_address,
|
||||
user,
|
||||
app,
|
||||
|
||||
-- timings
|
||||
created_at as "created_at: DateTime<Utc>",
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
insert into refresh_tokens (token, ip_address, user, expires_at)
|
||||
values (?, ?, ?, datetime(?, 'unixepoch'))
|
||||
insert into refresh_tokens (token, ip_address, user, app, expires_at)
|
||||
values (?, ?, ?, ?, datetime(?, 'unixepoch'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue