class AddProjectIdToShares < ActiveRecord::Migration def change add_column :shares, :project_id, :integer end end