-- Add net and gross price columns to client_prices
ALTER TABLE client_prices
ADD COLUMN price_net DECIMAL(10, 2) NULL,
ADD COLUMN price_gross DECIMAL(10, 2) NULL;

-- Migrate existing price to price_gross (assuming it was gross)
UPDATE client_prices SET price_gross = price WHERE price IS NOT NULL;

-- Calculate price_net from price_gross
UPDATE client_prices SET price_net = ROUND(price_gross / 1.23, 2) WHERE price_gross IS NOT NULL;
