erp-cicd/my-access-hub-main/supabase/migrations/20250809035513_d2463763-b34c-49e5-b8c7-84db56768535.sql
Ali 20e95c2fb6
Some checks failed
Build & Deploy Frontend / build-push-deploy (push) Failing after 15s
pushing all
2025-08-30 11:51:11 +05:30

5 lines
340 B
SQL

-- Add exchange_rate column to services table for tracking exchange rates at time of entry
ALTER TABLE public.services ADD COLUMN exchange_rate NUMERIC DEFAULT NULL;
-- Add comment to explain the column
COMMENT ON COLUMN public.services.exchange_rate IS 'Exchange rate to USD at the time of service creation/update for non-USD currencies';