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

Missing "0009_add_api_key_to_user.py" step in the migration's step in the setting up environment docs page (using vagrant) #490

Closed
WesleyBatista opened this issue Jul 15, 2015 · 1 comment

Comments

@WesleyBatista
Copy link
Contributor

ProgrammingError: column t1.api_key does not exist

12:07:53 web.1    | [2015-07-15 12:07:53,618][PID:2459][ERROR][peewee] SELECT "t1"."id", "t1"."updated_at", "t1"."created_at", "t1"."name", "t1"."email", "t1"."password_hash", "t1"."groups", "t1"."api_key" FROM "users" AS t1 WHERE ("t1"."email" = %s) LIMIT 1 [u'Admin']
12:07:53 web.1    | Traceback (most recent call last):
12:07:53 web.1    |   File "/usr/local/lib/python2.7/dist-packages/playhouse/postgres_ext.py", line 351, in execute_sql
12:07:53 web.1    |     cursor.execute(sql, params or ())
12:07:53 web.1    | ProgrammingError: column t1.api_key does not exist
12:07:53 web.1    | LINE 1: ...t1"."email", "t1"."password_hash", "t1"."groups", "t1"."api_...

After running the following line we go forward:

PYTHONPATH=. bin/run python migrations/0009_add_api_key_to_user.py
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