diff options
Diffstat (limited to 'db/migrate/20111215172021_create_fax_accounts.rb')
-rw-r--r-- | db/migrate/20111215172021_create_fax_accounts.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20111215172021_create_fax_accounts.rb b/db/migrate/20111215172021_create_fax_accounts.rb new file mode 100644 index 0000000..1039585 --- /dev/null +++ b/db/migrate/20111215172021_create_fax_accounts.rb @@ -0,0 +1,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 |