Skip to content

Add email, timezone, locale, lastLoginAt and soft delete to User entity - #1043

Merged
nafiuishaaq merged 3 commits into
MentoNest:mainfrom
Vox-d-glitch:issue-987-user-entity-migration
Aug 2, 2026
Merged

Add email, timezone, locale, lastLoginAt and soft delete to User entity#1043
nafiuishaaq merged 3 commits into
MentoNest:mainfrom
Vox-d-glitch:issue-987-user-entity-migration

Conversation

@Vox-d-glitch

Copy link
Copy Markdown
Contributor

Extends the User entity to cover the remaining fields from the profile/account model: email (optional, unique), timezone, locale, lastLoginAt, and soft delete via deletedAt.

  • Unique constraints on walletAddress and email (partial, allows multiple nulls)
  • Indexes on walletAddress, status, createdAt, lastLoginAt
  • Added pending to the user status enum
  • Validation decorators on the new fields
  • Migration with up/down for all schema changes

Closes #987

…r entity

Add unique constraints on walletAddress and email, indexes on status,
createdAt and lastLoginAt, and a pending status for onboarding accounts.

Closes MentoNest#987
@drips-wave

drips-wave Bot commented Jul 26, 2026

Copy link
Copy Markdown

@Vox-d-glitch Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@nafiuishaaq
nafiuishaaq merged commit f13b6c6 into MentoNest:main Aug 2, 2026
0 of 2 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.

User entity and migration

2 participants