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

Heroku Migration Error #801

Open
oliverclarity93 opened this issue Jun 4, 2019 · 1 comment
Open

Heroku Migration Error #801

oliverclarity93 opened this issue Jun 4, 2019 · 1 comment

Comments

@oliverclarity93
Copy link

Everything is working in both development and production, but when I run

heroku run rake db:migrate

I get this error:

PG::DuplicateColumn: ERROR: column "invitation_token" of relation "users" already exists

There's no prior installation. The column only appears once; the devise_to_users migration is identical to the one provided in Github.

Any help would be most appreciated. I can't find a duplication of the error .

@scambra
Copy link
Owner

scambra commented Jun 17, 2019

What's migration status? heroku run rake db:migrate:status

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