0
この拡張子 "hstore"を作成できません。PG :: SyntaxError:ERROR: "PARALLEL"またはその近くの構文エラー
レールのバージョン:5
OSX版:10.12.6
私は、このコマンドを入力し、 "postgresの-V"、それが返されます。
postgres (PostgreSQL) 10.1
完全なエラーログは次のとおりです。
bilals-MacBook-Pro-2:testapp bilalbasharat$ bundle exec rails db:setup
Database 'testapp_development' already exists
Database 'testapp_test' already exists
-- enable_extension("plpgsql")
-> 0.0196s
-- enable_extension("hstore")
rails aborted!
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "PARALLEL"
: CREATE EXTENSION IF NOT EXISTS "hstore"
ここで、SQL文を定義しましたか?私が知る限り、DBテーブルに列を追加する必要があります。私は[this](https://nandovieira.com/using-postgresql-and-hstore-with-rails)を参照しています。 – mutantkeyboard