class CreateMalinaEmails

Public Instance Methods

change() click to toggle source
# File lib/generators/templates/create_malina_emails.rb, line 4
def change
  create_table :malina_emails do |t|
    t.string :subject
    t.string :to, index: true
    t.string :from, index: true
    t.string :cc
    t.string :bcc
    t.text :body

    t.timestamps
  end
end