payment on hold

This commit is contained in:
root
2025-12-21 08:43:43 +01:00
parent 872e5a1a6a
commit 6741f5ed72
9 changed files with 977 additions and 217 deletions

View File

@@ -0,0 +1,7 @@
-- Add expires_at column to pending_orders table for 10-minute reservation timeout
ALTER TABLE `pending_orders`
ADD COLUMN `expires_at` datetime NOT NULL DEFAULT (DATE_ADD(NOW(), INTERVAL 10 MINUTE));
-- Add index on expires_at for efficient cleanup queries
CREATE INDEX `idx_expires_at` ON `pending_orders` (`expires_at`);