-- The issue is now laid out as one continuously paginated document, so it has a
-- page count of its own — the front matter and contents are pages too, and the
-- last article's page_end is not the end of the issue.
ALTER TABLE magazines ADD COLUMN IF NOT EXISTS page_count INTEGER;

COMMENT ON COLUMN magazines.page_count IS
    'Pages in the generated issue PDF; null until the issue has been generated.';
