{"action":"created","issue":{"url":"https://api.github.com/repos/wildland/wildland_dev_tools/issues/25","repository_url":"https://api.github.com/repos/wildland/wildland_dev_tools","labels_url":"https://api.github.com/repos/wildland/wildland_dev_tools/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/wildland/wildland_dev_tools/issues/25/comments","events_url":"https://api.github.com/repos/wildland/wildland_dev_tools/issues/25/events","html_url":"https://github.com/wildland/wildland_dev_tools/issues/25","id":158246524,"number":25,"title":"Import production database to local development database","user":{"login":"jweakley","id":347385,"avatar_url":"https://avatars.githubusercontent.com/u/347385?v=3","gravatar_id":"","url":"https://api.github.com/users/jweakley","html_url":"https://github.com/jweakley","followers_url":"https://api.github.com/users/jweakley/followers","following_url":"https://api.github.com/users/jweakley/following{/other_user}","gists_url":"https://api.github.com/users/jweakley/gists{/gist_id}","starred_url":"https://api.github.com/users/jweakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jweakley/subscriptions","organizations_url":"https://api.github.com/users/jweakley/orgs","repos_url":"https://api.github.com/users/jweakley/repos","events_url":"https://api.github.com/users/jweakley/events{/privacy}","received_events_url":"https://api.github.com/users/jweakley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-02T21:42:32Z","updated_at":"2016-06-02T22:01:11Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/wildland/wildland_dev_tools/issues/comments/223435931","html_url":"https://github.com/wildland/wildland_dev_tools/issues/25#issuecomment-223435931","issue_url":"https://api.github.com/repos/wildland/wildland_dev_tools/issues/25","id":223435931,"user":{"login":"jweakley","id":347385,"avatar_url":"https://avatars.githubusercontent.com/u/347385?v=3","gravatar_id":"","url":"https://api.github.com/users/jweakley","html_url":"https://github.com/jweakley","followers_url":"https://api.github.com/users/jweakley/followers","following_url":"https://api.github.com/users/jweakley/following{/other_user}","gists_url":"https://api.github.com/users/jweakley/gists{/gist_id}","starred_url":"https://api.github.com/users/jweakley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jweakley/subscriptions","organizations_url":"https://api.github.com/users/jweakley/orgs","repos_url":"https://api.github.com/users/jweakley/repos","events_url":"https://api.github.com/users/jweakley/events{/privacy}","received_events_url":"https://api.github.com/users/jweakley/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T22:01:11Z","updated_at":"2016-06-02T22:01:11Z","body":"``` ruby\r\n desc \"Restores the database dump at db/APP_NAME.dump.\"\r\n task restore: :environment do\r\n   cmd = nil\r\n   with_config do |app, host, db, user|\r\n     cmd = \"pg_restore --verbose --clean --no-owner --no-acl --dbname #{db} #{Rails.root}/db/#{app}.dump\"\r\n   end\r\n   Rake::Task[\"db:drop\"].invoke\r\n   Rake::Task[\"db:create\"].invoke\r\n   puts cmd\r\n   exec cmd\r\nend\r\n```"}}
{"actor":{"display_login":"jweakley"}}