mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-10-26 22:37:03 +00:00
55db86f68e
* feat(auth): Deny and request context on the CLI sign-in approval page (TASK-2253) * test(store): ScanNUL cost figures count the two cli_auth_sessions columns (TASK-2253)
5 lines
356 B
SQL
5 lines
356 B
SQL
-- Migration 105 (Postgres): who asked for a CLI sign-in (TASK-2253).
|
|
-- Postgres counterpart to migrations/132_cli_auth_requester.sql; the rationale is there.
|
|
ALTER TABLE cli_auth_sessions ADD COLUMN IF NOT EXISTS requester_ip TEXT NOT NULL DEFAULT '';
|
|
ALTER TABLE cli_auth_sessions ADD COLUMN IF NOT EXISTS requester_user_agent TEXT NOT NULL DEFAULT '';
|