kundencenter/migrations/013_domain_cost_basis.sql
2026-09-27 00:51:32 +02:00

3 lines
314 B
SQL

-- Einkaufspreise laut Liste sind Bruttopreise (inkl. USt); Umstellbar auf netto. Aufstellung speichert beide Werte.
ALTER TABLE domain_settings ADD COLUMN cost_basis ENUM('gross','net') NOT NULL DEFAULT 'gross' AFTER rounding;
ALTER TABLE domain_records ADD COLUMN cost_gross_cents INT NULL AFTER cost_net_cents;