class AddVisibilityToStatuses < ActiveRecord::Migration[5.0] def change add_column :statuses, :visibility, :integer, null: false, default: 0 endend