2023-02-02 17:15:17 -08:00
|
|
|
-- Copyright (c) HashiCorp, Inc.
|
2021-12-09 20:41:08 -05:00
|
|
|
-- SPDX-License-Identifier: BUSL-1.1
|
2023-02-02 17:15:17 -08:00
|
|
|
|
2021-12-09 20:41:08 -05:00
|
|
|
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;
|