38682-vm/db/migrations/039_add_currency_position.sql
2026-02-26 17:57:35 +00:00

6 lines
318 B
SQL

-- Add currency position setting
ALTER TABLE company_settings ADD COLUMN currency_position ENUM('before', 'after') DEFAULT 'after';
-- Update existing Omani settings to use 'after' as it's more common for OMR
UPDATE company_settings SET currency_position = 'after' WHERE currency_symbol IN ('OMR', 'ر.ع.', 'OMRR');