class AddVersionCountToAttachment < ActiveRecord::Migration def change add_column :attachments, :version_count, :integer, default: 1 end end