From 3bad475df60034b452eea46301efaec3b4744118 Mon Sep 17 00:00:00 2001 From: jos3duardo Date: Sun, 10 Aug 2025 21:07:34 -0400 Subject: [PATCH] Add attempts column to payment table for tracking retries --- docker/{db_init => }/init.sql | 1 + 1 file changed, 1 insertion(+) rename docker/{db_init => }/init.sql (94%) diff --git a/docker/db_init/init.sql b/docker/init.sql similarity index 94% rename from docker/db_init/init.sql rename to docker/init.sql index 330c5c4..376fe78 100644 --- a/docker/db_init/init.sql +++ b/docker/init.sql @@ -5,6 +5,7 @@ CREATE UNLOGGED TABLE payments ( payment_processor VARCHAR(50, status VARCHAR(50) NOT NULL, error_message TEXT, + attempts INTEGER, created_at TIMESTAMP default now() NOT NULL );