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

Added a Property in All Documents of the DB Collection Even If It Isn't Always Present! #37

Open
cypherinfo opened this issue Jun 14, 2019 · 0 comments

Comments

@cypherinfo
Copy link

Hello, congratulations for your useful application that gives many the chance to prepare easily a MongoDB for testing and developing new software.
Following your documentation, I have added the documents to seed my DB and the information about the schema and DB connection.
The seeding seemed ok but I've noticed that even if in the Mongoose schema availableColors is not required, and it is not available in many documents, it has been added in all documents of the Toys collection!
I tried to manually delete and seed again the same documents but the issue is still occurring.
I've attached the seed.js (documents) and Toy.js (Mongoose schema).
Thank you.

myapp.zip

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

No branches or pull requests

1 participant