RealDevSquad / RealDevSquad/website-backend
Add timestamp to most used collections
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Title: Add Timestamp to All Collections
Description:
We need to add timestamp fields to all the specified collections in the database. This will allow us to keep track of when documents are created and when they are last modified. Additionally, we need to change the date objects to timestamps in the 'groups' collection.
Collections and Fields to be Modified:
-
user collection: #1346
- created_at: Timestamp for the first time the document is created.
- updated_at: Timestamp for the last time the document is modified.
-
user-status - Onboarding collection: (#1389 )
- from: Timestamp for when the status is added to onboarding.
-
Tasks collection: #1009
- created_at: Timestamp for the first time the document is created.
- updated_at: Timestamp for the last time the document is modified.
-
applicants collection: https://github.com/Real-Dev-Squad/website-backend/issues/1395
- created_at: Timestamp for the first time the document is created.
- updated_at: Timestamp for the last time the document is modified.
-
groups collection:
- created_at: Timestamp for the first time the document is created.
- updated_at: Timestamp for the last time the document is modified.
Please make the necessary changes to the database schema and update the existing records accordingly. Once the modifications are done, ensure that the codebase is updated to use these new timestamp fields wherever applicable.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.