plataformatec/devise — Issue #1494: PGError: ERROR:  relation "admin_users" already exists
Author: joemsak
Created: 2011-12-08 20:42:07+00:00
State: open

I'm sorry, I really don't know what's up with this

I crossposted in ActiveAdmin

Fresh activeadmin install on a Rails 3.1.1 app, devise was already installed, and even the original devise_create_users migration gave this error

I have to rake db:setup and then db:migrate to get to the admin_users migration

I haven't touched the files except to change the admin user's credentials.

I see this on db:test:prepare
You have 1 pending migrations:
20111208195324 DeviseCreateAdminUsers
Run "rake db:migrate" to update your database then try again

And I see admin_users table via Navicat PG connection to localhost

I am confused