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

PG::Error: ERROR: relation "users" does not exist #83

Open
eolszewski opened this issue Aug 27, 2014 · 0 comments
Open

PG::Error: ERROR: relation "users" does not exist #83

eolszewski opened this issue Aug 27, 2014 · 0 comments

Comments

@eolszewski
Copy link

Hello Everyone,

I am switching to DO from AWS and am trying to migrate my database. It looks like everything runs fine, but when I look at unicorn logs I see the following:

PG::Error: ERROR: relation "users" does not exist
LINE 5: WHERE a.attrelid = '"users"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"users"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum

I assume this is preventing unicorn form functioning and I have no clue how to possibly fix it. I have been looking all over the web for a fix to this, but haven't been very successful. I'm using acts_as_relation 1.0.0 and will give any details necessary for diagnosis.

Thank you,

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

1 participant