-- EA-3 / PR-34: Monitor.displayName — public-status-page label
-- =========================================================
-- Adds an optional displayName column on Monitor. /api/status returns
-- it in place of `name` (and never returns `url`) to prevent an
-- unauthenticated caller from harvesting an internal-services inventory.
-- NULL means "fall back to `name`"; existing rows get NULL automatically.

-- ============================================================
-- UP
-- ============================================================

ALTER TABLE `Monitor`
  ADD COLUMN `displayName` VARCHAR(191) NULL AFTER `name`;

-- ============================================================
-- DOWN
-- ============================================================

ALTER TABLE `Monitor` DROP COLUMN `displayName`;
