ALTER TABLE pages
    ADD COLUMN hero_media_id INT UNSIGNED NULL AFTER body,
    ADD KEY idx_pages_hero_media_id (hero_media_id),
    ADD CONSTRAINT fk_pages_hero_media FOREIGN KEY (hero_media_id) REFERENCES media(id) ON DELETE SET NULL;
