Class: CreateSendGridEmailRecords
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateSendGridEmailRecords
- Defined in:
- lib/generators/sendgrid_events/install/templates/create_sendgrid_email_records.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
13 14 15 |
# File 'lib/generators/sendgrid_events/install/templates/create_sendgrid_email_records.rb', line 13 def self.down drop_table :sendgrid_email_records end |
.up ⇒ Object
2 3 4 5 6 7 8 9 10 11 |
# File 'lib/generators/sendgrid_events/install/templates/create_sendgrid_email_records.rb', line 2 def self.up create_table :sendgrid_email_records do |t| t.string :status t.string :to t.string :from t.string :subject t. end end |