Sha256: b66e775d0fdfb1d8d3f878865e9c405b6189a91482766220225ab0d4081dbab8

Contents?: true

Size: 437 Bytes

Versions: 7

Compression:

Stored size: 437 Bytes

Contents

class InstallEmailManager < ActiveRecord::Migration
  def self.up
    create_table :managed_emails do |t| 
      t.datetime :date_sent
      t.text :from
      t.text :reply_to
      t.text :to 
      t.text :cc 
      t.text :bcc
      t.text :headers
      t.string :message_id
      t.text :subject
      t.text :body
      t.text :caller

      t.timestamps
    end 
  end 

  def self.down
    drop_table :managed_emails
  end 
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
email_manager-1.0.0 spec/dummy/db/migrate/20120629144404_install_email_manager.rb
email_manager-0.0.6 spec/dummy/db/migrate/20120629144404_install_email_manager.rb
email_manager-0.0.5 spec/dummy/db/migrate/20110706133041_install_email_manager.rb
email_manager-0.0.4 spec/dummy/db/migrate/20110706133041_install_email_manager.rb
email_manager-0.0.3 spec/dummy/db/migrate/20110706133041_install_email_manager.rb
email_manager-0.0.2 spec/dummy/db/migrate/20110706133041_install_email_manager.rb
email_manager-0.0.1 spec/dummy/db/migrate/20110706133041_install_email_manager.rb