Files
threshold/internal/db/schema/migrations/oss/postgres/21/02_session.up.sql
T
Jim baa1d88f1f feature: Add client ip to inbound request information (#1678)
* feature: Add client ip to inbound request information
* feature (workers): Add the user's client IP to a session's connection information (#1749)
2021-12-09 20:41:08 -05:00

9 lines
305 B
PL/PgSQL

begin;
alter table session_connection
-- intentionally null because we don't know the user_client_ip when the
-- session is created by the controller. The worker will update the session
-- with the user_client_ip after the user establishes a connection.
add column user_client_ip inet;
commit;