rails add default to column code example Example: rails migration add default value change_column :users, :admin, :boolean, :default => false