class Introductions < ActiveRecord::Migration def change create_table :introductions do |t| t.references :account t.string :recipient_address t.string :recipient_name t.string :subject t.text :body t.string :message_id t.integer node_id t.timestamps end add_index :introductions, :account_id end end