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.
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,