{"action":"created","issue":{"url":"https://api.github.com/repos/jasoncodes/activerecord_views/issues/16","labels_url":"https://api.github.com/repos/jasoncodes/activerecord_views/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/jasoncodes/activerecord_views/issues/16/comments","events_url":"https://api.github.com/repos/jasoncodes/activerecord_views/issues/16/events","html_url":"https://github.com/jasoncodes/activerecord_views/issues/16","id":64069041,"number":16,"title":"active_records_views table in db/schema.rb","user":{"login":"twe4ked","id":71970,"avatar_url":"https://avatars.githubusercontent.com/u/71970?v=3","gravatar_id":"","url":"https://api.github.com/users/twe4ked","html_url":"https://github.com/twe4ked","followers_url":"https://api.github.com/users/twe4ked/followers","following_url":"https://api.github.com/users/twe4ked/following{/other_user}","gists_url":"https://api.github.com/users/twe4ked/gists{/gist_id}","starred_url":"https://api.github.com/users/twe4ked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twe4ked/subscriptions","organizations_url":"https://api.github.com/users/twe4ked/orgs","repos_url":"https://api.github.com/users/twe4ked/repos","events_url":"https://api.github.com/users/twe4ked/events{/privacy}","received_events_url":"https://api.github.com/users/twe4ked/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T18:37:17Z","updated_at":"2015-03-24T21:32:30Z","closed_at":null,"body":"Hey Jason :)\r\n\r\nI'm using `db/schema.rb` in a project and if I drop my database and run migrations the schema file loses the `active_record_views` table. If I then access the view class name from `rails console` and run another migration the table comes back. Is this expected behaviour? I wonder if it has anything to do with the issues I'm having in #15."},"comment":{"url":"https://api.github.com/repos/jasoncodes/activerecord_views/issues/comments/85702838","html_url":"https://github.com/jasoncodes/activerecord_views/issues/16#issuecomment-85702838","issue_url":"https://api.github.com/repos/jasoncodes/activerecord_views/issues/16","id":85702838,"user":{"login":"jasoncodes","id":83466,"avatar_url":"https://avatars.githubusercontent.com/u/83466?v=3","gravatar_id":"","url":"https://api.github.com/users/jasoncodes","html_url":"https://github.com/jasoncodes","followers_url":"https://api.github.com/users/jasoncodes/followers","following_url":"https://api.github.com/users/jasoncodes/following{/other_user}","gists_url":"https://api.github.com/users/jasoncodes/gists{/gist_id}","starred_url":"https://api.github.com/users/jasoncodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasoncodes/subscriptions","organizations_url":"https://api.github.com/users/jasoncodes/orgs","repos_url":"https://api.github.com/users/jasoncodes/repos","events_url":"https://api.github.com/users/jasoncodes/events{/privacy}","received_events_url":"https://api.github.com/users/jasoncodes/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T21:32:30Z","updated_at":"2015-03-24T21:32:30Z","body":"Hey, Odin. :)\r\n\r\nI first thought this was the problem as every other app I use `active_record_views` in has `config.active_record.schema_format = :sql` and it was an obvious configuration difference. I gave this a test though and nothing changed."}}