* feature: Add client ip to inbound request information * feature (workers): Add the user's client IP to a session's connection information (#1749)
9 lines
305 B
PL/PgSQL
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; |