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

rake db:migrate throws a lot of errors #465

Closed
gil27 opened this issue Jun 21, 2014 · 2 comments
Closed

rake db:migrate throws a lot of errors #465

gil27 opened this issue Jun 21, 2014 · 2 comments

Comments

@gil27
Copy link

gil27 commented Jun 21, 2014

Have you guys checked the migrations? I runned rake db:migrate after clonning the project and I came across a lot of errors, some of those were about missing classes. One solution, maybe not the best is to bring the actual schema into a single migration file.

@rap1ds
Copy link
Member

rap1ds commented Jun 23, 2014

You should run db:migrate only when you are updating your code.

When cloning the repo for the first time, you should run db:structure:load. This is also documented to the installation instructions in README.md

@rap1ds rap1ds closed this as completed Jun 23, 2014
@gil27
Copy link
Author

gil27 commented Jun 23, 2014

Thanks fot the feedback

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