ALTER TABLE pp_routes
  ADD COLUMN category_id INT NULL AFTER product_id,
  ADD COLUMN page_id INT NULL AFTER category_id,
  ADD COLUMN article_id INT NULL AFTER page_id,
  ADD COLUMN type VARCHAR(20) NULL AFTER article_id