class AddUserIdToShare < ActiveRecord::Migration def change add_column :shares, :user_id, :integer end end