Class: CreateVoltronNotificationEmailNotifications

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/templates/db/migrate/create_voltron_notification_email_notifications.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/generators/templates/db/migrate/create_voltron_notification_email_notifications.rb', line 2

def change
  create_table :voltron_notification_email_notifications do |t|
    t.string :to
    t.string :from
    t.string :subject
    t.string :template_path
    t.string :template_name
    t.string :mailer_class
    t.string :mailer_method
    t.text :request_json
    t.text :response_json
    t.integer :notification_id
  end
end