fix(licenses): add database migration for new license_key columns (KeyRaw, PaymentRef, LastHeartbeatUnix) #386
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The
license_keymodel has three columns that were added to the Go struct but have no corresponding database migration:KeyRaw(TEXT) — plaintext key for admin viewingPaymentRef(UNIQUE) — idempotency key for payment webhooksLastHeartbeatUnix(DEFAULT 0) — last successful validation timestampThe v337 migration only adds
KeyPlainwhich was renamed toKeyRawin the model. Need a new migration to sync.Also need migration for
update_stream_confignew columns:LicensingEnabled(DEFAULT false)ExtensionName,DisplayName,Description,ExtensionTypeMaintainer,MaintainerURL,InfoURL,TargetVersion,PHPMinimumTest Plan
🤖 Generated with Claude Code
Testing Plan — Database Migration
Superseded by #389 (migration v340). Same test plan applies.
DB
🤖 Generated with Claude Code
Superseded by #389 (migration v340) which covers all columns.
?? Generated with Claude Code