thoughtbot/scenic — pull request #58 by geoffharcourt (2014-12-19 20:41:21+00:00)
Title: Drop existing view before attempting to create

Reloading a schema from scratch (on development or test) is causing an error
when ActiveRecord attempts to recreate views that are already present in the
database (in my case, it was `pg_stat_statements`). This change uses `DROP
VIEW`'s `IF EXISTS` argument to silently drop the view before attempting to
create it.