Add primary_painting_id to products.