cirandas.net

ref: master

db/migrate/20150529180110_add_date_format_to_environment.rb


1
2
3
4
5
6
7
8
9
class AddDateFormatToEnvironment < ActiveRecord::Migration
  def up
    add_column :environments, :date_format, :string, :default => 'month_name_with_year'
  end

  def down
    remove_column :environments, :date_format
  end
end