Skip to content

Comments

feat(user-schema): add timestamps for createdAt and updatedAt#91

Merged
pooranjoyb merged 1 commit intosristy17:dwoc-2025from
AritraDey-Dev:feat/user-schema-add-timestamps
Feb 1, 2025
Merged

feat(user-schema): add timestamps for createdAt and updatedAt#91
pooranjoyb merged 1 commit intosristy17:dwoc-2025from
AritraDey-Dev:feat/user-schema-add-timestamps

Conversation

@AritraDey-Dev
Copy link
Contributor

Fixes Issue

Closes #83

Changes proposed

  • Added timestamps: true to the userSchema to automatically generate createdAt and updatedAt fields in the MongoDB schema.

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Screenshot from 2025-01-29 21-28-50

Copy link
Owner

@sristy17 sristy17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, @AritraDey-Dev! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.

We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

@pooranjoyb pooranjoyb requested a review from sristy17 January 30, 2025 13:43
@AritraDey-Dev
Copy link
Contributor Author

@sristy17 can you review this pr and tell any changes required

@pooranjoyb pooranjoyb added good first issue Good for newcomers dwoc-2025 Issue under DWOC 2025 labels Feb 1, 2025
@pooranjoyb pooranjoyb merged commit 8418675 into sristy17:dwoc-2025 Feb 1, 2025
1 check passed
@AritraDey-Dev AritraDey-Dev deleted the feat/user-schema-add-timestamps branch March 31, 2025 08:52
@AritraDey-Dev AritraDey-Dev restored the feat/user-schema-add-timestamps branch March 31, 2025 08:52
@AritraDey-Dev AritraDey-Dev deleted the feat/user-schema-add-timestamps branch April 17, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dwoc-2025 Issue under DWOC 2025 good first issue Good for newcomers level 3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FEAT: Update model for additional user data

3 participants