feat: add Nostr event tracking columns to events table

Migration m009 adds nostr_event_id and nostr_event_created_at to
track published NIP-52 calendar events. Enables correlation between
LNbits events and their Nostr representations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-04-27 17:13:36 +02:00
commit f76e21e960
2 changed files with 14 additions and 0 deletions

View file

@ -80,6 +80,8 @@ class Event(BaseModel):
banner: str | None = None
extra: EventExtra = Field(default_factory=EventExtra)
status: str = "approved" # proposed, approved, rejected
nostr_event_id: str | None = None
nostr_event_created_at: int | None = None
class TicketExtra(BaseModel):