{"action":"created","issue":{"url":"https://api.github.com/repos/adamakhtar/slack_dj/issues/3","repository_url":"https://api.github.com/repos/adamakhtar/slack_dj","labels_url":"https://api.github.com/repos/adamakhtar/slack_dj/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/adamakhtar/slack_dj/issues/3/comments","events_url":"https://api.github.com/repos/adamakhtar/slack_dj/issues/3/events","html_url":"https://github.com/adamakhtar/slack_dj/issues/3","id":162209799,"number":3,"title":"something missing?","user":{"login":"Skeyelab","id":313969,"avatar_url":"https://avatars.githubusercontent.com/u/313969?v=3","gravatar_id":"","url":"https://api.github.com/users/Skeyelab","html_url":"https://github.com/Skeyelab","followers_url":"https://api.github.com/users/Skeyelab/followers","following_url":"https://api.github.com/users/Skeyelab/following{/other_user}","gists_url":"https://api.github.com/users/Skeyelab/gists{/gist_id}","starred_url":"https://api.github.com/users/Skeyelab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skeyelab/subscriptions","organizations_url":"https://api.github.com/users/Skeyelab/orgs","repos_url":"https://api.github.com/users/Skeyelab/repos","events_url":"https://api.github.com/users/Skeyelab/events{/privacy}","received_events_url":"https://api.github.com/users/Skeyelab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-24T19:00:14Z","updated_at":"2016-06-28T09:09:06Z","closed_at":null,"body":"I followed your instructions twice and cannot get this working.  I can get the \"how to get started\" page to show up, but when I run a command from slack, it fails.\r\n\r\n```2016-06-24T18:59:29.481444+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192]   Parameters: {\"token\"=>\"XXXXXX\", \"team_id\"=>\"T024GGW34\", \"team_domain\"=>\"desk\", \"channel_id\"=>\"D1987E8TB\", \"channel_name\"=>\"directmessage\", \"user_id\"=>\"U19604B3M\", \"user_name\"=>\"eric_dahl\", \"command\"=>\"/dj\", \"text\"=>\"help\", \"response_url\"=>\"https://hooks.slack.com/commands/T024GGW34/54175421952/4bSMvHXzZq98CowanaBscrfJ\"}\r\n2016-06-24T18:59:29.486489+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192] Completed 500 Internal Server Error in 5ms (ActiveRecord: 3.4ms)\r\n2016-06-24T18:59:29.488014+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192]\r\n2016-06-24T18:59:29.488061+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192] ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR:  relation \"teams\" does not exist\r\n2016-06-24T18:59:29.488063+00:00 app[web.1]: LINE 7:                WHERE a.attrelid = '\"teams\"'::regclass\r\n2016-06-24T18:59:29.488064+00:00 app[web.1]:                                           ^\r\n2016-06-24T18:59:29.488065+00:00 app[web.1]: :               SELECT a.attname, format_type(a.atttypid, a.atttypmod),\r\n2016-06-24T18:59:29.488065+00:00 app[web.1]:                      pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod,\r\n2016-06-24T18:59:29.488066+00:00 app[web.1]:              (SELECT c.collname FROM pg_collation c, pg_type t\r\n2016-06-24T18:59:29.488067+00:00 app[web.1]:                WHERE c.oid = a.attcollation AND t.oid = a.atttypid AND a.attcollation <> t.typcollation)\r\n2016-06-24T18:59:29.488067+00:00 app[web.1]:                 FROM pg_attribute a LEFT JOIN pg_attrdef d\r\n2016-06-24T18:59:29.488068+00:00 app[web.1]:                   ON a.attrelid = d.adrelid AND a.attnum = d.adnum\r\n2016-06-24T18:59:29.488073+00:00 app[web.1]:                WHERE a.attrelid = '\"teams\"'::regclass\r\n2016-06-24T18:59:29.488074+00:00 app[web.1]:                  AND a.attnum > 0 AND NOT a.attisdropped\r\n2016-06-24T18:59:29.488074+00:00 app[web.1]:                ORDER BY a.attnum\r\n2016-06-24T18:59:29.488075+00:00 app[web.1]: ):\r\n2016-06-24T18:59:29.488078+00:00 app[web.1]: [ea221ab4-8f5e-47d7-bf8f-151635fc4192]```\r\n\r\n\r\nIt seems my errors are around active record and table not found.  Postgres gets added, but there is no mention of creating any tables.  \r\n\r\nI feel like there are some configuration and setup steps missing.  (namely, `git push heroku master`).\r\n"},"comment":{"url":"https://api.github.com/repos/adamakhtar/slack_dj/issues/comments/228994360","html_url":"https://github.com/adamakhtar/slack_dj/issues/3#issuecomment-228994360","issue_url":"https://api.github.com/repos/adamakhtar/slack_dj/issues/3","id":228994360,"user":{"login":"adamakhtar","id":238342,"avatar_url":"https://avatars.githubusercontent.com/u/238342?v=3","gravatar_id":"","url":"https://api.github.com/users/adamakhtar","html_url":"https://github.com/adamakhtar","followers_url":"https://api.github.com/users/adamakhtar/followers","following_url":"https://api.github.com/users/adamakhtar/following{/other_user}","gists_url":"https://api.github.com/users/adamakhtar/gists{/gist_id}","starred_url":"https://api.github.com/users/adamakhtar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamakhtar/subscriptions","organizations_url":"https://api.github.com/users/adamakhtar/orgs","repos_url":"https://api.github.com/users/adamakhtar/repos","events_url":"https://api.github.com/users/adamakhtar/events{/privacy}","received_events_url":"https://api.github.com/users/adamakhtar/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T09:09:06Z","updated_at":"2016-06-28T09:09:06Z","body":"@Skeyelab \r\n\r\nAwesome glad you got it working (I've updated the Readme too now)\r\n\r\nYeah having a way to see upcoming tracks would be useful. I'll put that on the todo list.\r\n\r\n"}}
{"actor":{"display_login":"adamakhtar"}}