polycule-connect/polyculeconnect/migrations/1_create_auth_request.up.sql
Melora Hugues c71e7fa12f
Some checks failed
/ docker-build-only (push) Failing after 33s
/ go-test (push) Failing after 1m20s
Add login workflow until token generation (#48)
2024-10-15 19:35:14 +02:00

11 lines
No EOL
338 B
SQL

CREATE TABLE "auth_request_2" (
id TEXT NOT NULL PRIMARY KEY,
client_id TEXT NOT NULL,
backend_id TEXT NOT NULL,
scopes blob NOT NULL, -- list of strings, json-encoded
redirect_uri TEXT NOT NULL,
state TEXT NOT NULL,
nonce TEXT NOT NULL,
response_type TEXT NOT NULL,
creation_time timestamp NOT NULL
);