class MigrationName < ActiveRecord::Migration def change change_column :my_table, :my_column, :data_type, deafult: "value" end end
change_column :users, :admin, :boolean, :default => false
t.integer :col_name, :default => 0