Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
-- This file contains queries to re-create the `id` column as a `VARCHAR` column instead of `SERIAL` column for tables that already have it.
-- It must be ensured that the deployed version of the application does not include the `id` column in any of its queries.
-- Drop the id column as this will be used later as the primary key with a different type
-- Note: customers `id` column is added via v1 migrations (migrations/2026-04-02-000001_add_id_column_to_customers)
------------------------ Payment Intent -----------------------
ALTER TABLE payment_intent
ADD COLUMN IF NOT EXISTS id VARCHAR(64);
------------------------ Payment Attempt -----------------------
ALTER TABLE payment_attempt
ADD COLUMN IF NOT EXISTS id VARCHAR(64);
------------------------ Payment Methods -----------------------
ALTER TABLE payment_methods
ADD COLUMN IF NOT EXISTS id VARCHAR(64);