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

8 lines
270 B
Ruby
Raw 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