foodsoft/plugins/messages/db/migrate/20160226000000_add_email_to_message.rb

7 lines
189 B
Ruby
Raw Permalink Normal View History

class AddEmailToMessage < ActiveRecord::Migration[4.2]
def change
add_column :messages, :salt, :string
add_column :messages, :received_email, :binary, limit: 1.megabyte
end
end