Closed medhatiwari closed 3 years ago
Hey @medhatiwari
Thanks for opening this PR :rocket:. Mentor will review your PR soon and till then, keep contributing and stay calm.
Thanks for contributing to OpenCode ✨✨!
_id field for a mongodb Document can be used as the id created_at and updated_at fields are automatically generated by setting timestamps:true user_id can also be modified Please refer https://github.com/opencodeiiita/Productivity-Tracker/pull/65
@medhatiwari you can remove id field from the schema, MongoDB will generate _id by default
@medhatiwari you can remove id field from the schema, MongoDB will generate _id by default
done sir
@medhatiwari required:true
in line 17 is giving errors. Please check that
Also times will not be a required field, you can remove that required:true
@medhatiwari
required:true
in line 17 is giving errors. Please check that Also times will not be a required field, you can remove thatrequired:true
removed it, sir
Hey @medhatiwari
Your PR has been merged :partying_face::partying_face: and you have earned 10 points.
Thanks for contributing to OpenCode ✨✨!
Issue: 63
Short description of what this resolves:
Added Task Schema with the required fields mentioned in this issue
Changes proposed in this pull request and/or Screenshots of changes:
-
-
Resolves #63