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:
13
lib/db/migrations/0009_zaps.sql
Normal file
13
lib/db/migrations/0009_zaps.sql
Normal 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
|
||||
);
|
||||
Reference in New Issue
Block a user