Readers no longer see request header values, which typically hold credentials. Closes #26 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
11 lines
451 B
SQL
11 lines
451 B
SQL
-- +goose Up
|
|
ALTER TABLE monitors DROP CONSTRAINT monitors_type_check;
|
|
ALTER TABLE monitors ADD CONSTRAINT monitors_type_check
|
|
CHECK (type IN ('http', 'tcp', 'icmp', 'dns', 'tls', 'json', 'heartbeat'));
|
|
|
|
-- +goose Down
|
|
DELETE FROM monitors WHERE type = 'json';
|
|
ALTER TABLE monitors DROP CONSTRAINT monitors_type_check;
|
|
ALTER TABLE monitors ADD CONSTRAINT monitors_type_check
|
|
CHECK (type IN ('http', 'tcp', 'icmp', 'dns', 'tls', 'heartbeat'));
|