Files
routstr-core/routstr/core
Jeroen UbbinkandClaude Sonnet 4.6 feb76bc89d fix: persist and propagate key constraints from Lightning invoices
LightningInvoice had no columns for balance_limit, balance_limit_reset,
or validity_date. SQLModel silently dropped these constructor kwargs, so
create_api_key_from_invoice always produced an unconstrained key.

Add the three columns to LightningInvoice with a migration, and wire them
through to the ApiKey in create_api_key_from_invoice, matching the pattern
already used in the child key creation path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 14:58:40 +02:00
..
2025-08-09 14:55:26 -03:00
2026-06-01 23:27:26 +02:00
2026-05-01 23:07:43 +02:00
2026-05-28 20:09:48 +02:00
2026-05-01 16:23:30 +02:00
2026-05-14 15:40:49 +02:00
2026-05-09 00:00:18 +02:00
2026-05-16 19:10:45 +02:00