default in rails migration in consolem code example
Example 1: rails migration add default value
change_column :users, :admin, :boolean, :default => false
Example 2: default value rails migration
t.integer :col_name, :default => 0
change_column :users, :admin, :boolean, :default => false
t.integer :col_name, :default => 0