Files
threshold/internal/db/schema/migrations/oss/postgres/21/02_session.up.sql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
376 B
PL/PgSQL
Raw Normal View History

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