-- Add forensic / audit columns to payments table
ALTER TABLE "payments" ADD COLUMN "error_details" TEXT;
ALTER TABLE "payments" ADD COLUMN "retry_count" INTEGER NOT NULL DEFAULT 0;
ALTER TABLE "payments" ADD COLUMN "raw_webhook_payload" JSONB;
