-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error: Migrate must be configured to either "create" or "drop" #12
Comments
@connor11528 Actually yes you have to configure store. There is option: |
Okay cool I see that. Where in my application do I put the code in the "Configure stores" section? Do I configure stores in config/env/production.js? What file stores the Stores configuration.. if that makes sense! |
Okay my bad. All that needs to happen is edit the stores file in config/database.js. n00b mistake Default file will look like this:
|
Yep exactly. it should be into |
Thank you! |
This is pretty basic but I would appreciate the help! I create a new application using express 4 and mongoose with trails.js. I got the following error (see below).
I see that I probably need to configure Stores. Where do I do that? I see it in the README but it is not clear to me where the code must go.
I appreciate any direction or help. Happy to submit a PR to clear things up if there is an obvious answer. thank you.
The text was updated successfully, but these errors were encountered: