3scale/porta

View on GitHub
db/migrate/20130412150352_add_support_emails_to_accounts.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddSupportEmailsToAccounts < ActiveRecord::Migration
  def self.up
    change_table :accounts do |a|
      a.string :support_email
      a.string :finance_support_email
    end
  end

  def self.down
    change_table :accounts do |a|
      a.remove :support_email
      a.remove :finance_support_email
    end
  end
end