-- Add integration_n8n_test_mode column to platform_settings table
ALTER TABLE platform_settings
ADD COLUMN integration_n8n_test_mode BOOLEAN DEFAULT FALSE;

-- Add a comment for documentation
COMMENT ON COLUMN platform_settings.integration_n8n_test_mode IS 'Toggle for n8n webhook test mode - uses /webhook-test/ when true, /webhook/ when false';