{"action":"created","issue":{"url":"https://api.github.com/repos/plentz/lol_dba/issues/72","repository_url":"https://api.github.com/repos/plentz/lol_dba","labels_url":"https://api.github.com/repos/plentz/lol_dba/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/plentz/lol_dba/issues/72/comments","events_url":"https://api.github.com/repos/plentz/lol_dba/issues/72/events","html_url":"https://github.com/plentz/lol_dba/issues/72","id":167600661,"number":72,"title":"Can't find table if using database schemas","user":{"login":"brandonparsons","id":1277162,"avatar_url":"https://avatars.githubusercontent.com/u/1277162?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonparsons","html_url":"https://github.com/brandonparsons","followers_url":"https://api.github.com/users/brandonparsons/followers","following_url":"https://api.github.com/users/brandonparsons/following{/other_user}","gists_url":"https://api.github.com/users/brandonparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonparsons/subscriptions","organizations_url":"https://api.github.com/users/brandonparsons/orgs","repos_url":"https://api.github.com/users/brandonparsons/repos","events_url":"https://api.github.com/users/brandonparsons/events{/privacy}","received_events_url":"https://api.github.com/users/brandonparsons/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plentz/lol_dba/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-26T12:58:14Z","updated_at":"2016-08-07T20:12:13Z","closed_at":null,"body":"I'm using database schemas in my app (via `Apartment`). For tables that aren't schema-constrained, they are prefaced by `public`. e..g: `public.users`.  `lol_dba` can't seem to find the tables in this case.\r\n\r\nAny way to get this working?\r\n\r\n```\r\nBUG: table 'public.users' does not exist, please report this bug.\r\n    BUG: table 'public.map_markers' does not exist, please report this bug.\r\n    \r\n* TIP: if you have a problem with the index name('index name too long') you can solve with the :name option. Something like :name => 'my_index'.\r\n* run `rails g migration AddMissingIndexes` and add the following content:\r\n\r\n\r\n    class AddMissingIndexes < ActiveRecord::Migration\r\n      def change\r\n        \r\n      end\r\n    end\r\n```"},"comment":{"url":"https://api.github.com/repos/plentz/lol_dba/issues/comments/238105415","html_url":"https://github.com/plentz/lol_dba/issues/72#issuecomment-238105415","issue_url":"https://api.github.com/repos/plentz/lol_dba/issues/72","id":238105415,"user":{"login":"brandonparsons","id":1277162,"avatar_url":"https://avatars.githubusercontent.com/u/1277162?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonparsons","html_url":"https://github.com/brandonparsons","followers_url":"https://api.github.com/users/brandonparsons/followers","following_url":"https://api.github.com/users/brandonparsons/following{/other_user}","gists_url":"https://api.github.com/users/brandonparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonparsons/subscriptions","organizations_url":"https://api.github.com/users/brandonparsons/orgs","repos_url":"https://api.github.com/users/brandonparsons/repos","events_url":"https://api.github.com/users/brandonparsons/events{/privacy}","received_events_url":"https://api.github.com/users/brandonparsons/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T20:12:13Z","updated_at":"2016-08-07T20:12:13Z","body":"I couldn't quite get it to work (I didn't get any output after running `lol_dba db:find_indexes`), but that's ok - I suspect my horrible code and not database indexes are going to be the issue for the forseeable future :)"}}
{"actor":{"display_login":"brandonparsons"}}