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
|
|
@ -4,6 +4,7 @@ create table if not exists refresh_tokens
|
|||
token TEXT not null primary key,
|
||||
ip_address TEXT not null,
|
||||
user TEXT not null references users (id),
|
||||
app TEXT not null references apps (id),
|
||||
|
||||
-- timings
|
||||
created_at TEXT not null default CURRENT_TIMESTAMP,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue