1 2 3 4 5 6
class AddSipAccountToSoftkeys < ActiveRecord::Migration def change add_column :softkeys, :sip_account_id, :integer remove_column :softkeys, :phone_id end end