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
|