-- Add is_pattern flag to qt_vendor_partnumber_seen.
-- Rows with is_pattern=1 store glob patterns (*, ?) used for wildcard ignore rules.
-- Pattern rows are excluded from the regular seen-registry listing and from PN book snapshots.
ALTER TABLE qt_vendor_partnumber_seen
    ADD COLUMN is_pattern TINYINT(1) NOT NULL DEFAULT 0 AFTER is_ignored;
