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

Error on startup #2

Open
ghost opened this issue Jul 31, 2015 · 2 comments
Open

Error on startup #2

ghost opened this issue Jul 31, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 31, 2015

I am getting this error first time trying the server:

PG::UndefinedTable at /
ERROR: relation "visitors" does not exist
LINE 5: WHERE a.attrelid = '"visitors"'::regclass

I ran rake db:reset also. It doesn't seem to be working properly. Anyone know what this is?

@DanielKehoe
Copy link
Member

That looks an error from PostgreSQL. The example application is set up for SQLite. Have you resolved the issue?

@mark-stephenson-
Copy link

I've just got the same thing after running the generator. The DBs are set up in postgres fine, it looks like the migrations are missing if you use the generator.

To resolve just create a new migration using the contents of the migration file in the repo

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