Skip to content

fix(#251): add migration to fix nullable columns on FoundingMemberInv…#313

Merged
bllr777 merged 1 commit into
mainfrom
feature/251-waitlist-landing-page
May 23, 2026
Merged

fix(#251): add migration to fix nullable columns on FoundingMemberInv…#313
bllr777 merged 1 commit into
mainfrom
feature/251-waitlist-landing-page

Conversation

@bllr777
Copy link
Copy Markdown
Collaborator

@bllr777 bllr777 commented May 23, 2026

…ites

Summary

The initial AddFoundingMemberInvites migration created Token, SentAt, ExpiresAt, and RedeemedAt as non-nullable, but the domain model defines them as nullable. This migration corrects the column nullability and recreates the unique index on Token with a null filter.

Changes

Infrastructure.Persistence

  • Migration FoundingMemberInviteSentinel: alter Token/SentAt/ExpiresAt/RedeemedAt to nullable; recreate IX_FoundingMemberInvites_Token with IS NOT NULL filter
  • Update model snapshot

…ites

## Summary
The initial AddFoundingMemberInvites migration created Token, SentAt, ExpiresAt,
and RedeemedAt as non-nullable, but the domain model defines them as nullable.
This migration corrects the column nullability and recreates the unique index
on Token with a null filter.

## Changes
### Infrastructure.Persistence
- Migration FoundingMemberInviteSentinel: alter Token/SentAt/ExpiresAt/RedeemedAt
  to nullable; recreate IX_FoundingMemberInvites_Token with IS NOT NULL filter
- Update model snapshot
@bllr777 bllr777 merged commit f29aad1 into main May 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant