cirandas.net

ref: master

db/migrate/20120823215007_add_languages_and_default_language_to_environment.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
class AddLanguagesAndDefaultLanguageToEnvironment < ActiveRecord::Migration
  def self.up
    add_column :environments, :languages, :string
    add_column :environments, :default_language, :string
  end

  def self.down
    remove_column :environments, :languages
    remove_column :environments, :default_language
  end
end