mirror of
https://github.com/Noratrieb/oh-oh.git
synced 2026-01-16 09:55:06 +01:00
JSON Web Suffering and Encryption
This commit is contained in:
parent
cdc8907e4f
commit
42e44c9db9
5 changed files with 49 additions and 13 deletions
|
|
@ -15,6 +15,7 @@ CREATE TABLE oauth_codes (
|
|||
created_time_ms INTEGER NOT NULL,
|
||||
user_id INTEGER NOT NULl,
|
||||
used INTEGER NOT NULL DEFAULT 0,
|
||||
scope TEXT NOT NULL,
|
||||
|
||||
FOREIGN KEY(client_id) REFERENCES oauth_clients(client_id) ON DELETE CASCADE,
|
||||
FOREIGN KEY(user_id) REFERENCES users(id) ON DELETE CASCADE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue