방금 레일스 4.1로 업데이트되었으며 변경 사항이 만족스럽지 않습니다. 다음은 내 콘솔에서받은 편지함을 가져 오려고 할 때 일어나는 일입니다.PG :: Error : ERROR : relation "mailboxer_notifications"가 존재하지 않습니다.
[18] snifme » Master.last.mailbox.inbox
Master Load (0.6ms) SELECT "masters".* FROM "masters" ORDER BY "masters"."id" DESC LIMIT 1
PG::Error: ERROR: relation "mailboxer_notifications" does not exist
LINE 5: WHERE a.attrelid = '"mailboxer_notifications"...
^
: 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 = '"mailboxer_notifications"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
(pry) output error: #<ActiveRecord::StatementInvalid: PG::Error: ERROR: relation "mailboxer_notifications" does not exist
LINE 5: WHERE a.attrelid = '"mailboxer_notifications"...
^
: 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 = '"mailboxer_notifications"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
수정 가능한 것으로 눈에 띄는 것이 있습니까? 나는 개발 환경에있다. 감사
왜 이것에 downvote? 이것은 보석 문제, 그/그녀가 그리워 postgresql 사소한 문제가 분명하지 – yretuta