diff options
Diffstat (limited to 'db/migrate/20111210124447_remove_sip_domain_id_from_sip_account.rb')
-rw-r--r-- | db/migrate/20111210124447_remove_sip_domain_id_from_sip_account.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20111210124447_remove_sip_domain_id_from_sip_account.rb b/db/migrate/20111210124447_remove_sip_domain_id_from_sip_account.rb new file mode 100644 index 0000000..eeb5afe --- /dev/null +++ b/db/migrate/20111210124447_remove_sip_domain_id_from_sip_account.rb @@ -0,0 +1,9 @@ +class RemoveSipDomainIdFromSipAccount < ActiveRecord::Migration + def up + remove_column :sip_accounts, :sip_domain_id + end + + def down + add_column :sip_accounts, :sip_domain_id, :integer + end +end |