class AddPagecountToContent < ActiveRecord::Migration[5.0] def change add_column :contents, :pagecount, :integer, default: -1 end end