cirandas.net

ref: master

db/migrate/20100722020357_add_default_value_for_environment_theme.rb


1
2
3
4
5
6
7
8
9
class AddDefaultValueForEnvironmentTheme < ActiveRecord::Migration
  def self.up
    change_column :environments, :theme, :string, :default => 'default'
  end

  def self.down
    change_column :environments, :theme, :string, :default => nil
  end
end