{"action":"closed","issue":{"url":"https://api.github.com/repos/BOWiki/BOW/issues/508","repository_url":"https://api.github.com/repos/BOWiki/BOW","labels_url":"https://api.github.com/repos/BOWiki/BOW/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/BOWiki/BOW/issues/508/comments","events_url":"https://api.github.com/repos/BOWiki/BOW/issues/508/events","html_url":"https://github.com/BOWiki/BOW/issues/508","id":151062941,"number":508,"title":"ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation \"users\" does not exist\nLINE 1: SELECT  \"users\".* FROM \"users\" WHERE \"users\".\"id\" = $1  ORDE...\n                               ^\n: SELECT  \"users\".* FROM \"users\" WHERE \"users\".\"id\" = $1  ","user":{"login":"trystant","id":13509,"avatar_url":"https://avatars.githubusercontent.com/u/13509?v=3","gravatar_id":"","url":"https://api.github.com/users/trystant","html_url":"https://github.com/trystant","followers_url":"https://api.github.com/users/trystant/followers","following_url":"https://api.github.com/users/trystant/following{/other_user}","gists_url":"https://api.github.com/users/trystant/gists{/gist_id}","starred_url":"https://api.github.com/users/trystant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trystant/subscriptions","organizations_url":"https://api.github.com/users/trystant/orgs","repos_url":"https://api.github.com/users/trystant/repos","events_url":"https://api.github.com/users/trystant/events{/privacy}","received_events_url":"https://api.github.com/users/trystant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BOWiki/BOW/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-26T07:26:45Z","updated_at":"2016-04-26T07:38:55Z","closed_at":"2016-04-26T07:38:55Z","body":"View details in Rollbar: [https://rollbar.com/trystant/BOW/items/410/](https://rollbar.com/trystant/BOW/items/410/)\n\n```\n\nPG::UndefinedTable: ERROR:  relation \"users\" does not exist\nLINE 1: SELECT  \"users\".* FROM \"users\" WHERE \"users\".\"id\" = $1  ORDE...\n                               ^\n\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql_adapter.rb\", line 637, in prepare\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql_adapter.rb\", line 637, in prepare_statement\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql_adapter.rb\", line 596, in exec_cache\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql_adapter.rb\", line 585, in execute_and_clear\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/postgresql/database_statements.rb\", line 160, in exec_query\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/database_statements.rb\", line 356, in select\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/database_statements.rb\", line 32, in select_all\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/query_cache.rb\", line 68, in block in select_all\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/query_cache.rb\", line 83, in cache_sql\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/query_cache.rb\", line 68, in select_all\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/querying.rb\", line 39, in find_by_sql\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/relation.rb\", line 639, in exec_queries\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/relation.rb\", line 515, in load\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/relation.rb\", line 243, in to_a\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/bullet-5.0.0/lib/bullet/active_record42.rb\", line 39, in to_a\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/relation/finder_methods.rb\", line 500, in find_nth_with_limit\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/relation/finder_methods.rb\", line 484, in find_nth\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/relation/finder_methods.rb\", line 127, in first\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/orm_adapter-0.5.0/lib/orm_adapter/adapters/active_record.rb\", line 17, in get\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/devise-3.5.6/lib/devise/models/authenticatable.rb\", line 208, in serialize_from_session\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/devise-3.5.6/lib/devise.rb\", line 465, in block (2 levels) in configure_warden!\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/session_serializer.rb\", line 34, in fetch\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/proxy.rb\", line 212, in user\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/proxy.rb\", line 322, in _perform_authentication\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/warden-1.2.6/lib/warden/proxy.rb\", line 104, in authenticate\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/devise-3.5.6/lib/devise/controllers/helpers.rb\", line 124, in current_user\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/devise-3.5.6/lib/devise/controllers/helpers.rb\", line 120, in user_signed_in?\n  File \"/app/app/controllers/application_controller.rb\", line 21, in user_for_paper_trail\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/paper_trail-4.0.2/lib/paper_trail/frameworks/rails/controller.rb\", line 65, in set_paper_trail_whodunnit\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 432, in block in make_lambda\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 164, in block in halting\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 504, in block in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 504, in each\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 504, in call\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 92, in __run_callbacks__\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 778, in _run_process_action_callbacks\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb\", line 81, in run_callbacks\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb\", line 19, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb\", line 29, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb\", line 32, in block in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb\", line 164, in block in instrument\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb\", line 20, in instrument\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb\", line 164, in instrument\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb\", line 30, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/params_wrapper.rb\", line 250, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick/logging.rb\", line 153, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/railties/controller_runtime.rb\", line 18, in process_action\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb\", line 137, in process\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionview-4.2.6/lib/action_view/rendering.rb\", line 30, in process\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal.rb\", line 196, in dispatch\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/rack_delegation.rb\", line 13, in dispatch\n  File \"/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal.rb\", line 237, in block in action\n  File \"/app/vendor/bu"}}