Method: Landable::Migration#exec_migration

Defined in:
lib/landable/migration.rb

#exec_migration(conn, direction) ⇒ Object



21
22
23
24
25
26
27
28
29
# File 'lib/landable/migration.rb', line 21

def exec_migration(conn, direction)
  # come what may, keep the connection's schema search path intact
  with_clean_connection(conn) do
    super
  end

  # reset a few things, lest we pollute the way for those who follow
  self.class.clear_cache!
end