Add delegate_party_id column to track which party is acting as delegate (generates and returns user share instead of storing it). Changes: - Add delegate_party_id VARCHAR(255) column with default empty string - Add partial index for faster lookups when delegate party is present - Include up and down migrations This fixes the issue where delegate party selection worked but the delegate_party field was not being returned in API responses due to missing database column. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 001_init_schema.up.sql | ||
| 002_add_signing_parties.down.sql | ||
| 002_add_signing_parties.up.sql | ||
| 003_add_session_events.down.sql | ||
| 003_add_session_events.up.sql | ||
| 004_add_optimistic_locking.down.sql | ||
| 004_add_optimistic_locking.up.sql | ||
| 005_add_delegate_party_id.down.sql | ||
| 005_add_delegate_party_id.up.sql | ||