Skip to content

fix: Set founding member status for new profiles before cutoff date#812

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-formats-display
Jan 19, 2026
Merged

fix: Set founding member status for new profiles before cutoff date#812
bokelley merged 1 commit into
mainfrom
bokelley/fix-formats-display

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Fix founding member badge not displaying for members who joined after initial migration ran
  • The original migration 147 only set is_founding_member = TRUE for profiles that existed at migration time
  • Profiles created afterward were not automatically flagged, even though they joined before the April 2026 cutoff

Changes

  • Update createProfile in member-db.ts to set founding member status based on cutoff date
  • Add migration 180 to backfill existing profiles that should have the flag

Test plan

  • Build passes
  • All tests pass
  • Migration applies correctly (verified in docker compose)
  • Schema has is_founding_member column with correct index

🤖 Generated with Claude Code

The original migration 147 only set is_founding_member=TRUE for profiles
that existed at migration time. Profiles created afterward were not
automatically flagged, even though they joined before the April 2026 cutoff.

Changes:
- Update createProfile to set is_founding_member based on cutoff date
- Add migration 180 to backfill existing profiles

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit c1a6e3d into main Jan 19, 2026
6 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