Console:
rails g migration add_show_to_section_elements show:integer
Adentro del migration file, es agregar:
, :default => 0, :null => false
class AddShowToSectionElements < ActiveRecord::Migration[5.2] def change add_column :section_elements, :show, :integer, :default => 0, :null => false end end