{"action":"opened","issue":{"url":"https://api.github.com/repos/boriscy/bonsaiERP/issues/4","labels_url":"https://api.github.com/repos/boriscy/bonsaiERP/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/boriscy/bonsaiERP/issues/4/comments","events_url":"https://api.github.com/repos/boriscy/bonsaiERP/issues/4/events","html_url":"https://github.com/boriscy/bonsaiERP/issues/4","id":112302437,"number":4,"title":"rake db:migrate error","user":{"login":"caiqinghua","id":3682462,"avatar_url":"https://avatars.githubusercontent.com/u/3682462?v=3","gravatar_id":"","url":"https://api.github.com/users/caiqinghua","html_url":"https://github.com/caiqinghua","followers_url":"https://api.github.com/users/caiqinghua/followers","following_url":"https://api.github.com/users/caiqinghua/following{/other_user}","gists_url":"https://api.github.com/users/caiqinghua/gists{/gist_id}","starred_url":"https://api.github.com/users/caiqinghua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiqinghua/subscriptions","organizations_url":"https://api.github.com/users/caiqinghua/orgs","repos_url":"https://api.github.com/users/caiqinghua/repos","events_url":"https://api.github.com/users/caiqinghua/events{/privacy}","received_events_url":"https://api.github.com/users/caiqinghua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T07:15:59Z","updated_at":"2015-10-20T07:15:59Z","closed_at":null,"body":"When rake db:migrate on mac os x, errors is below.\r\n\r\n20131224080216_add_hstore.rb\r\n\r\nbonsaiERP git:(master) ✗ rake db:migrate\r\n== 20131224080216 AddHstore: migrating ========================================\r\n-- execute(\"CREATE EXTENSION IF NOT EXISTS hstore SCHEMA public\")\r\nrake aborted!\r\nStandardError: An error has occurred, this and all later migrations canceled:\r\n\r\nPG::InsufficientPrivilege: ERROR:  permission denied to create extension \"hstore\"\r\nHINT:  Must be superuser to create this extension.\r\n: CREATE EXTENSION IF NOT EXISTS hstore SCHEMA public/Users/cai/.rvm/gems/ruby-2.2.2@rails-4.2/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `async_exec'"}}