summaryrefslogtreecommitdiff
path: root/db/migrate/20111215172021_create_fax_accounts.rb
blob: 1039585eaa17931f62ce23702473aa2bbc652ae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class CreateFaxAccounts < ActiveRecord::Migration
  def self.up
    create_table :fax_accounts do |t|
      t.string :fax_accountable_type
      t.integer :fax_accountable_id
      t.string :name
      t.string :email
      t.boolean :delete_after_email
      t.timestamps
    end
  end

  def self.down
    drop_table :fax_accounts
  end
end