Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Directory Schema #25

Merged
merged 8 commits into from
Jan 16, 2025

Conversation

AdamRolander
Copy link
Contributor

Tracking Info

Resolves #13

Changes

Created directorySchema

  • Contains a userID field of type ObjectID and ref to "User"
  • UserID is a required, and unique parameter
  • timestamps:true parameter included to show object creation and alterations

Testing

Verified consistent formatting with onboarding repo conventions.

Confirmation of Change

image

Navigate: backend/models/directory.ts

backend/src/models/directory.ts Outdated Show resolved Hide resolved
backend/src/models/directory.ts Outdated Show resolved Hide resolved
backend/src/models/directory.ts Outdated Show resolved Hide resolved
Copy link

@andrewzpu andrewzpu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@Miyuki-L Miyuki-L left a comment

Choose a reason for hiding this comment

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

Great First Issue

@raymondwusuper
Copy link
Contributor

LGTM

@raymondwusuper raymondwusuper merged commit 5d40120 into main Jan 16, 2025
2 checks passed
@Miyuki-L Miyuki-L deleted the DirectorySchema/AdamRolander/BackendSetup branch January 16, 2025 06:12
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.

Set Up Directory Schema
4 participants