-- +goose Up -- Whether an organization's checker may check private addresses. Platform -- checkers follow the platform setting instead. ALTER TABLE agents ADD COLUMN allow_private boolean NOT NULL DEFAULT true; -- Check types an organization does not want offered, on top of those -- switched off platform-wide. ALTER TABLE orgs ADD COLUMN disabled_check_types text[] NOT NULL DEFAULT '{}' CHECK (cardinality(disabled_check_types) <= 100); -- +goose Down ALTER TABLE orgs DROP COLUMN disabled_check_types; ALTER TABLE agents DROP COLUMN allow_private;