Files
coder/coderd/database/migrations/000369_nullable_conn_log_ip.up.sql
T

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

3 lines
195 B
SQL
Raw Normal View History

-- We can't guarantee that an IP will always be available, and omitting an IP
-- is preferable to not creating a connection log at all.
ALTER TABLE connection_logs ALTER COLUMN ip DROP NOT NULL;