class AddDefaultForPolls < ActiveRecord::Migration[5.2] def change change_column :polls, :polls_status, :integer, :default => 1 end end