Sha256: 7b9fa6f59d39f888d8ad51d7a32a6f11dd1b5b5d59e1d4426fc10fe404ca6eea
Contents?: true
Size: 385 Bytes
Versions: 29
Compression:
Stored size: 385 Bytes
Contents
class AddCountryCodeToLanguages < ActiveRecord::Migration def change add_column :alchemy_languages, :country_code, :string rename_column :alchemy_languages, :code, :language_code remove_index :alchemy_languages, :name => :index_languages_on_code add_index :alchemy_languages, :language_code add_index :alchemy_languages, [:language_code, :country_code] end end
Version data entries
29 entries across 29 versions & 1 rubygems