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