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

Created Field not created... #36

Closed
kentcdodds opened this issue Mar 2, 2014 · 2 comments
Closed

Created Field not created... #36

kentcdodds opened this issue Mar 2, 2014 · 2 comments

Comments

@kentcdodds
Copy link

The modified field gets on just fine, but the created field doesn't get attached to any of the schemas I'm using the plugin for... I've tried providing a createdPath, and that didn't make a difference. The weird thing is when I print out the schema immediately after calling .plugin it shows the created field in the schema, however, none of the objects in my database have acreated field, just a modified field. Am I missing something here?

This is how I'm using it: schema.plugin(troop.timestamp); where schema is one of my mongoose schemas. That's the right way to do it right?

@ThomasBormans
Copy link

Take a look at issue #17 if it is still necessary.

@kentcdodds
Copy link
Author

I'm not working on a project that uses this anymore. Feel free to close this issue.

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

2 participants