-- +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', 'prometheus', 'heartbeat')); -- +goose Down DELETE FROM monitors WHERE type = 'prometheus'; 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'));