[Rails] (PG::InsufficientPrivilege: ERROR: permission denied for schema public)
在 import 完 .sql 檔到專案的 postgres 後 使用 rails console 操作 db, 出現了以下錯誤訊息: ActiveRecord::StatementInvalid (PG::InsufficientPrivilege: ERROR: permission denied for schema public) LINE 1: SELECT 1 FROM ONLY "public"."users" x WHERE "id" OPERATOR(pg... »