JSON Web Suffering and Encryption

This commit is contained in:
nora 2025-07-27 12:40:57 +02:00
parent cdc8907e4f
commit 42e44c9db9
5 changed files with 49 additions and 13 deletions

View file

@ -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