Platform admins set a default for how many monitors a status page may show, and an override per organization, like the other limits. Saving a page with more gives 422 page_monitor_limit; a page beyond a lowered limit keeps its monitors but cannot grow. The page editor names the limit and the organization's usage lists it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
8 lines
305 B
SQL
8 lines
305 B
SQL
-- +goose Up
|
|
-- How many monitors one status page of the organization may show; NULL
|
|
-- follows the platform default, 0 means unlimited.
|
|
ALTER TABLE orgs ADD COLUMN limit_monitors_per_page integer CHECK (limit_monitors_per_page >= 0);
|
|
|
|
-- +goose Down
|
|
ALTER TABLE orgs DROP COLUMN limit_monitors_per_page;
|