{"push_id":922493952,"size":1,"distinct_size":1,"ref":"refs/heads/dp-update-refactor","head":"6a63e9553b3b9cbd1ab082fc0f33299ed0c7c46a","before":"5544fd36cb97f5d447f7df606b03caee03d146c3","commits":[{"sha":"6a63e9553b3b9cbd1ab082fc0f33299ed0c7c46a","author":{"email":"f145bb865a44131ac25a78f469f13a487cf15aef@gmail.com","name":"Derek Prior"},"message":"Refactor view updates\n\nThis introduces `update_view` and `update_materialized_view` as methods\non the Postgres adapter. The schema statements previously expressed\nthese methods in terms of `drop_view` and `create_view`, wrapped in a\ncall to our index reapplication code. Breaking these methods out allows\nother adapters to implement these as they see fit, and also allows us to\nmake that index reapplication index a private implementation detail of\nthe adapter.\n\nI also extracted an indexes query object (like the views query object)\nand the index reapplication object to clean up the private methods on\nthe adapter itself.","distinct":true,"url":"https://api.github.com/repos/thoughtbot/scenic/commits/6a63e9553b3b9cbd1ab082fc0f33299ed0c7c46a"}]}