PG::InsufficientPrivilege: ERROR:permission denied to create extension "hstore"HINT: Must be superuser to create this extension. : CREATE EXTENSION IF NOT EXISTS hstore解决方案: sudo su postgres -c "psql db_name -c'CREATE EXTENSION hstore;'" (db_name 为数据库名称) 然后再 rake db:migrate...
Additionally I need to add the extension manually, cause the migration task failed. PG::InsufficientPrivilege: ERROR: permission denied to create extension "btree_gist" HINT: Must be superuser to create this extension. by docker-compose exec -u postgres postgresql psql -d gitlab_production -c...