summaryrefslogtreecommitdiff
path: root/db/migrate/20130117191840_change_column_name_in_call_route.rb
blob: bbc4f285594824fde8dfd3001137d2fb5c0953f1 (plain)
1
2
3
4
5
6
7
class ChangeColumnNameInCallRoute < ActiveRecord::Migration
  def up
  	if column_exists?(:call_routes, :table)
      rename_column :call_routes, :table, :routing_table
    end
  end
end