WIP: Claude Code progress on #15

Automated salvage commit — agent session ended (exit 124).
Work in progress, may need continuation.
This commit is contained in:
Alexander Whitestone
2026-03-23 16:30:20 -04:00
parent cbeaa61083
commit 12a53092e9
11 changed files with 580 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
-- Migration: Zap Timmy from the Workshop (#15)
-- Stores Lightning zap invoices and records when they are paid.
CREATE TABLE IF NOT EXISTS zaps (
id TEXT PRIMARY KEY,
payment_hash TEXT NOT NULL UNIQUE,
payment_request TEXT NOT NULL,
amount_sats INTEGER NOT NULL,
message TEXT,
paid BOOLEAN NOT NULL DEFAULT FALSE,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
paid_at TIMESTAMPTZ
);