-- Migration: Add extra fields to products table
ALTER TABLE products 
  ADD COLUMN IF NOT EXISTS internal_code VARCHAR(255) DEFAULT '',
  ADD COLUMN IF NOT EXISTS factory_price_cents BIGINT DEFAULT 0,
  ADD COLUMN IF NOT EXISTS pmc_cents BIGINT DEFAULT 0,
  ADD COLUMN IF NOT EXISTS commercial_discount_cents BIGINT DEFAULT 0,
  ADD COLUMN IF NOT EXISTS tax_substitution_cents BIGINT DEFAULT 0,
  ADD COLUMN IF NOT EXISTS invoice_price_cents BIGINT DEFAULT 0;
