foodsoft/db/migrate/20160226000000_add_email_to_message.foodsoft_messages_engine.rb

8 lines
273 B
Ruby
Raw Permalink Normal View History

# This migration comes from foodsoft_messages_engine (originally 20160226000000)
class AddEmailToMessage < ActiveRecord::Migration[4.2]
def change
add_column :messages, :salt, :string
add_column :messages, :received_email, :binary, :limit => 1.megabyte
end
end