Module: Connect::Migration

Extended by:
ActiveSupport::Concern
Defined in:
lib/connect/migration.rb

Instance Method Summary collapse

Instance Method Details

#exec_migration(conn, direction) ⇒ Object

Skip running in production environments, since heroku connect manages those



10
11
12
# File 'lib/connect/migration.rb', line 10

def exec_migration(conn, direction)
  super unless Rails.env.production?
end