kundencenter/migrations/013_domain_cost_basis.sql

4 lines
314 B
MySQL
Raw Normal View History

-- 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;