File size: 407 Bytes
c09f67c | 1 2 3 4 5 6 7 8 9 10 | -- Migration: Add error_code column to accounting_sync_records
-- This allows structured error handling with standardized codes for frontend display
ALTER TABLE accounting_sync_records
ADD COLUMN error_code TEXT;
-- Add comment for documentation
COMMENT ON COLUMN accounting_sync_records.error_code IS 'Standardized error code for frontend handling (e.g., ATTACHMENT_UNSUPPORTED_TYPE, AUTH_EXPIRED)';
|